-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Enable propagating host rustflags to build scripts #10395
Commits on Feb 17, 2022
-
Run target-applies-to-host tests on stable
Jon Gjengset committedFeb 17, 2022 Configuration menu - View commit details
-
Copy full SHA for 90a61d1 - Browse repository at this point
Copy the full SHA 90a61d1View commit details -
Simplify unused build scripts in tests
The tests in question all tail to even build the build script, so the contents of `main` don't matter, and make the tests seem more complex than they really are.
Jon Gjengset committedFeb 17, 2022 Configuration menu - View commit details
-
Copy full SHA for 040f0d1 - Browse repository at this point
Copy the full SHA 040f0d1View commit details
Commits on Feb 18, 2022
-
Add regression test for rust-lang#10206
Jon Gjengset committedFeb 18, 2022 Configuration menu - View commit details
-
Copy full SHA for fb47df7 - Browse repository at this point
Copy the full SHA fb47df7View commit details -
Enable propagating rustflags to build scripts
This patch implements more complete logic for applying rustflags to build scripts and other host artifacts. In the default configuration, it only makes build scripts (and plugins and whatnot) pick up on `rustflags` from `[host]`, which fixes rust-lang#10206 but otherwise preserves existing behavior in all its inconsistent glory. The same is the case if `target-applies-to-host` is explicitly set to `false`. When `target-applies-to-host` is explicitly set to `true`, rustflags will start to be applied in the same way that `linker` and `runner` are today -- namely they'll be applied from `[target.<host triple>]` and from `RUSTFLAGS`/`build.rustflags` if `--target <host triple>` is given.
Jon Gjengset committedFeb 18, 2022 Configuration menu - View commit details
-
Copy full SHA for 4f41727 - Browse repository at this point
Copy the full SHA 4f41727View commit details
Commits on Feb 21, 2022
-
Retain legacy behavior with tath != false
Jon Gjengset committedFeb 21, 2022 Configuration menu - View commit details
-
Copy full SHA for 49f90f5 - Browse repository at this point
Copy the full SHA 49f90f5View commit details -
Fix up doc to reflect latest semantics change
Jon Gjengset committedFeb 21, 2022 Configuration menu - View commit details
-
Copy full SHA for 216eeea - Browse repository at this point
Copy the full SHA 216eeeaView commit details
Commits on Feb 24, 2022
-
Remove env_var from test names that don't use env
Jon Gjengset committedFeb 24, 2022 Configuration menu - View commit details
-
Copy full SHA for 745329c - Browse repository at this point
Copy the full SHA 745329cView commit details -
Make rustflags logic more linear
Jon Gjengset committedFeb 24, 2022 Configuration menu - View commit details
-
Copy full SHA for f23894d - Browse repository at this point
Copy the full SHA f23894dView commit details -
Jon Gjengset committed
Feb 24, 2022 Configuration menu - View commit details
-
Copy full SHA for 84eb820 - Browse repository at this point
Copy the full SHA 84eb820View commit details -
Jon Gjengset committed
Feb 24, 2022 Configuration menu - View commit details
-
Copy full SHA for df90291 - Browse repository at this point
Copy the full SHA df90291View commit details -
Unify logic of legacy and non-legacy code paths
Jon Gjengset committedFeb 24, 2022 Configuration menu - View commit details
-
Copy full SHA for 153bca2 - Browse repository at this point
Copy the full SHA 153bca2View commit details -
Make rustflags/rustdocflags an enum
Jon Gjengset committedFeb 24, 2022 Configuration menu - View commit details
-
Copy full SHA for 4ae6651 - Browse repository at this point
Copy the full SHA 4ae6651View commit details -
Jon Gjengset committed
Feb 24, 2022 Configuration menu - View commit details
-
Copy full SHA for b4ce8a8 - Browse repository at this point
Copy the full SHA b4ce8a8View commit details -
Improve precision of host build.rustflags tests
Jon Gjengset committedFeb 24, 2022 Configuration menu - View commit details
-
Copy full SHA for 54674d3 - Browse repository at this point
Copy the full SHA 54674d3View commit details -
Avoid #[cfg] duplicated main in tests
It makes the logic really hard to follow.
Jon Gjengset committedFeb 24, 2022 Configuration menu - View commit details
-
Copy full SHA for 56db829 - Browse repository at this point
Copy the full SHA 56db829View commit details