-
Notifications
You must be signed in to change notification settings - Fork 13.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Migrate issue-83045
, rustc-macro-dep-files
and env-dep-info
run-make
tests to rmake
#127381
Conversation
21d9855
to
31cf03d
Compare
The run-make-support library was changed cc @jieyouxu This PR modifies cc @jieyouxu |
This comment has been minimized.
This comment has been minimized.
31cf03d
to
13115ce
Compare
@bors delegate+ (for try jobs) |
✌️ @Oneirical, you can now approve this pull request! If @jieyouxu told you to " |
@bors try |
@bors try please wake up |
…try> Migrate `issue-83045`, `rustc-macro-dep-files` and `env-dep-info` `run-make` tests to rmake Part of rust-lang#121876 and the associated [Google Summer of Code project](https://blog.rust-lang.org/2024/05/01/gsoc-2024-selected-projects.html). Please try on musl. try-job: dist-x86_64-musl
☀️ Try build successful - checks-actions |
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.
Thank you, the tests look good in general, I left some suggestions and some questions/discussions.
@rustbot author |
13115ce
to
1d3c426
Compare
☔ The latest upstream changes (presumably #127378) made this pull request unmergeable. Please resolve the merge conflicts. |
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.
Thank you, the tests look good, just minor doc adjustment requests ^^
/// Construct a plain `rustc` invocation with no flags set. Note that compiletest | ||
/// still presets the environment variables `HOST_RPATH_DIR` and `TARGET_RPATH_DIR` | ||
/// by default. |
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.
Suggestion: sorry I should've been more clear. What I meant was moreso set_common
calls set_host_rpath
, not the one in compiletest:
rust/src/tools/run-make-support/src/lib.rs
Lines 363 to 375 in 4a31a6c
/// Set the runtime library path as needed for running the host rustc/rustdoc/etc. | |
pub fn set_host_rpath(cmd: &mut Command) { | |
let ld_lib_path_envvar = env_var("LD_LIB_PATH_ENVVAR"); | |
cmd.env(&ld_lib_path_envvar, { | |
let mut paths = vec![]; | |
paths.push(cwd()); | |
paths.push(PathBuf::from(env_var("HOST_RPATH_DIR"))); | |
for p in env::split_paths(&env_var(&ld_lib_path_envvar)) { | |
paths.push(p.to_path_buf()); | |
} | |
env::join_paths(paths.iter()).unwrap() | |
}); | |
} |
r=me with a rebase + addressing the doc comment. |
1d3c426
to
215e89e
Compare
215e89e
to
fe76650
Compare
…kingjubilee Rollup of 11 pull requests Successful merges: - rust-lang#126502 (Ignore allocation bytes in some mir-opt tests) - rust-lang#126922 (add lint for inline asm labels that look like binary) - rust-lang#127209 (Added the `xop` target-feature and the `xop_target_feature` feature gate) - rust-lang#127310 (Fix import suggestion ice) - rust-lang#127338 (Migrate `extra-filename-with-temp-outputs` and `issue-85019-moved-src-dir` `run-make` tests to rmake) - rust-lang#127381 (Migrate `issue-83045`, `rustc-macro-dep-files` and `env-dep-info` `run-make` tests to rmake) - rust-lang#127535 (Fire unsafe_code lint on unsafe extern blocks) - rust-lang#127619 (Suggest using precise capturing for hidden type that captures region) - rust-lang#127631 (Remove `fully_normalize`) - rust-lang#127632 (Implement `precise_capturing` support for rustdoc) - rust-lang#127660 (Rename the internal `const_strlen` to just `strlen`) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#127381 - Oneirical:testalt-consciousness, r=jieyouxu Migrate `issue-83045`, `rustc-macro-dep-files` and `env-dep-info` `run-make` tests to rmake Part of rust-lang#121876 and the associated [Google Summer of Code project](https://blog.rust-lang.org/2024/05/01/gsoc-2024-selected-projects.html). Please try on musl. try-job: dist-x86_64-musl
Part of #121876 and the associated Google Summer of Code project.
Please try on musl.
try-job: dist-x86_64-musl