-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't rely on unstable flags. #189
Conversation
I tested it with |
Thanks! @basvandijk do you remember why we used |
Ah, I think I knew. The difference is explained here: rust-lang/cargo#5203 The |
https://doc.rust-lang.org/cargo/reference/environment-variables.html Is it a problem if everything goes into the out dir? Edit: Oh. The build size, you say... :( |
Would it be OK if we just delete needless stuff from the output dir? I mean - it's not all that difficult. All the subdirs, and then bunch of |
BTW. I have no idea why, but I'm building my Rust project under a special name (just to make sure I am looking at the right output):
No other files than the binary. No idea why. |
Mh ok that's odd. Maybe that actually works since the top-level derivation only builds the executable? what if you set |
Weird. Same? I've changed the name to
previous one (no singleStep), to double check.
|
Is it because of
? So there is already a redundant mechanism for picking the important stuff from |
Well then! if it breaks anything, we'll revert and add a test :) |
Actually I just reverted the commit. I realized that you were setting |
Does it mean I should add that flag into other places as well? |
Yes I think you can export it like so: Line 241 in df71f5e
Thanks! |
I am completely confused what am I doing. I don't understand why exactly it was reverted and what is the problem in the first place. :) Is is that when using |
I guess I could have been clearer! Here you set |
Fix #100