Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAllow up to 128MB stack size for build.rs #343
Conversation
|
|
||
| println!("cargo:rerun-if-changed={}", rules_rs.display()); | ||
| let handle = Builder::new().stack_size(128 * 1024 * 1024).spawn(move || { |
This comment has been minimized.
This comment has been minimized.
|
@bors-servo r=emilio |
|
|
Allow up to 128MB stack size for build.rs
|
|
|
@nox What's causing |
|
I don't understand what you mean by |
|
Mea culpa, I thought I saw |
|
You're welcome! |
|
I played a bit with different stack sizes on Linux x64. In debug mode, the build script fails when I take it under ~550 KB. The default stack size of macOS is apparently 512 KB. Release mode helps, I assume with inlining. The limit then is around ~130 KB. Debug mode stack in gdb below. It looks like there is no infinite recursion bug, it’s just that
|
nox commentedApr 26, 2018
No description provided.