-
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 pointer-auth-link-with-c
, c-dynamic-rlib
and c-dynamic-dylib
run-make
tests to rmake
#127872
Conversation
The run-make-support library was changed cc @jieyouxu This PR modifies cc @jieyouxu |
This comment has been minimized.
This comment has been minimized.
2983350
to
0fa1214
Compare
@bors try |
Migrate `pointer-auth-link-with-c`, `c-dynamic-rlib` and `c-dynamic-dylib` `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: try-job: x86_64-msvc try-job: i686-mingw try-job: aarch64-apple
} else { | ||
cc().arg("-v").arg("-c").out_exe(&obj_file).input(src).run(); | ||
}; | ||
let obj_file = if is_msvc() { format!("{lib_name}.obj") } else { format!("{lib_name}.o") }; |
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.
Obviously not a job for here, but maybe run-make should switch from a &str
-based API to Path
-based so these turn into e.g. path_buf.set_extension(...)
and path.extension().unwrap()
, rather than manipulating the strings directly. And then just take impl AsRef<OsStr>
everywhere so &str
still works.
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.
Yeah, feel free to leave a FIXME here for me.
This comment has been minimized.
This comment has been minimized.
💔 Test failed - checks-actions |
Need to take a look at this. |
@rustbot author (pls flip when ready) |
0fa1214
to
96d6694
Compare
@Oneirical: 🔑 Insufficient privileges: not in try users |
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.
Thanks
@bors r+ rollup=iffy (c native libs and linkage tests) |
…eyouxu Migrate `pointer-auth-link-with-c`, `c-dynamic-rlib` and `c-dynamic-dylib` `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: try-job: x86_64-msvc try-job: i686-mingw try-job: aarch64-apple
This comment has been minimized.
This comment has been minimized.
💔 Test failed - checks-actions |
Doc typo: |
@rustbot author |
2e3470e
to
710e7b0
Compare
Thanks! @bors r+ |
…iaskrgr Rollup of 5 pull requests Successful merges: - rust-lang#127054 (Reorder trait bound modifiers *after* `for<...>` binder in trait bounds) - rust-lang#127528 (Replace ASCII control chars with Unicode Control Pictures) - rust-lang#127872 (Migrate `pointer-auth-link-with-c`, `c-dynamic-rlib` and `c-dynamic-dylib` `run-make` tests to rmake) - rust-lang#128111 (Do not use question as label) - rust-lang#128160 (Don't ICE when auto trait has assoc ty in old solver) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#127872 - Oneirical:antestral-traditions, r=jieyouxu Migrate `pointer-auth-link-with-c`, `c-dynamic-rlib` and `c-dynamic-dylib` `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: try-job: x86_64-msvc try-job: i686-mingw try-job: aarch64-apple
Part of #121876 and the associated Google Summer of Code project.
Please try:
try-job: x86_64-msvc
try-job: i686-mingw
try-job: aarch64-apple