-
Notifications
You must be signed in to change notification settings - Fork 9
rust/Makefile*: remove -Z build options for NO_STD builds #124
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -8,7 +8,7 @@ | |||||||||
| default_to_workspace = false | ||||||||||
|
|
||||||||||
| [env] | ||||||||||
| BUILD_FLAGS = "--profile ${RUSTC_PROFILE} -Zbuild-std=core,compiler_builtins,alloc -Zbuild-std-features=compiler-builtins-mem -Zunstable-options --timings" | ||||||||||
| BUILD_FLAGS = "--profile ${RUSTC_PROFILE} --timings" | ||||||||||
|
||||||||||
| BUILD_FLAGS = "--profile ${RUSTC_PROFILE} --timings" | |
| BUILD_FLAGS = "--profile ${RUSTC_PROFILE} --timings" | |
| NO_STD_FLAGS = "${BUILD_FLAGS}" | |
| STD_FLAGS = "${BUILD_FLAGS}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This Makefile updates
BUILD_FLAGS, but later tasks still referenceNO_STD_FLAGSandSTD_FLAGSwhich are not defined in this file. That meanscheck_no_std/check_stdmay not apply the intended flags (or may fail if unset vars aren’t tolerated). Consider definingNO_STD_FLAGS/STD_FLAGSin[env]or refactoring the check tasks to useBUILD_FLAGSconsistently.