-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Rewrite symlinked-extern
, symlinked-rlib
and symlinked-libraries
run-make
tests in rmake.rs
format
#125674
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Supporting Windows symlinks requires importing The previous test simply ignored Windows. Is it pertinent to make this test work on Windows too? |
I think that is reasonable, but it looks like you have cfg-enabled specific versions. I think you need |
@rustbot author |
58ac55a
to
1e0a952
Compare
Changes applied, and once again the important of |
This comment has been minimized.
This comment has been minimized.
afbdbbe
to
2e08de0
Compare
2e08de0
to
1b8d584
Compare
Thanks, r=me after CI is green |
✌️ @Oneirical, you can now approve this pull request! If @jieyouxu told you to " |
a94c002
to
2ac5faa
Compare
@rustbot review |
Let's run a msvc try job to double check: |
r=me if the try job comes back green. |
…r=<try> Rewrite `symlinked-extern`, `symlinked-rlib` and `symlinked-libraries` `run-make` tests in `rmake.rs` format 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). try-job: x86_64-msvc
☀️ Try build successful - checks-actions |
…, r=jieyouxu Rewrite `symlinked-extern`, `symlinked-rlib` and `symlinked-libraries` `run-make` tests in `rmake.rs` format 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). try-job: x86_64-msvc
…kingjubilee Rollup of 11 pull requests Successful merges: - rust-lang#125165 (Migrate `run-make/pgo-branch-weights` to `rmake`) - rust-lang#125674 (Rewrite `symlinked-extern`, `symlinked-rlib` and `symlinked-libraries` `run-make` tests in `rmake.rs` format) - rust-lang#125688 (Walk into alias-eq nested goals even if normalization fails) - rust-lang#126142 (Harmonize using root or leaf obligation in trait error reporting) - rust-lang#126303 (Urls to docs in rust_hir) - rust-lang#126328 (Add Option::is_none_or) - rust-lang#126337 (Add test for walking order dependent opaque type behaviour) - rust-lang#126351 (std::unix::fs::link using direct linkat call for Solaris.) - rust-lang#126353 (Move `MatchAgainstFreshVars` to old solver) - rust-lang#126356 (docs(rustc): Improve discoverable of Cargo docs) - rust-lang#126362 (Make `try_from_target_usize` method public) r? `@ghost` `@rustbot` modify labels: rollup
…kingjubilee Rollup of 10 pull requests Successful merges: - rust-lang#125674 (Rewrite `symlinked-extern`, `symlinked-rlib` and `symlinked-libraries` `run-make` tests in `rmake.rs` format) - rust-lang#125688 (Walk into alias-eq nested goals even if normalization fails) - rust-lang#126142 (Harmonize using root or leaf obligation in trait error reporting) - rust-lang#126303 (Urls to docs in rust_hir) - rust-lang#126328 (Add Option::is_none_or) - rust-lang#126337 (Add test for walking order dependent opaque type behaviour) - rust-lang#126353 (Move `MatchAgainstFreshVars` to old solver) - rust-lang#126356 (docs(rustc): Improve discoverable of Cargo docs) - rust-lang#126358 (safe transmute: support `Single` enums) - rust-lang#126362 (Make `try_from_target_usize` method public) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#125674 - Oneirical:another-day-another-test, r=jieyouxu Rewrite `symlinked-extern`, `symlinked-rlib` and `symlinked-libraries` `run-make` tests in `rmake.rs` format 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). try-job: x86_64-msvc
@Oneirical @jieyouxu
Symlink creation is a privileged operation (https://doc.rust-lang.org/stable/std/os/windows/fs/fn.symlink_file.html#limitations), it may be enabled on CI, but it's typically not enabled on user machines. Standard library tests do not currently consider such failures fatal and treat the tests as ignored or passed, it would be better if run-make tests did the same thing. |
@petrochenkov thanks for the heads up. I think I will mark these symlink tests as |
Update: opened PR #126846 to ignore these tests on Windows. |
Part of #121876 and the associated Google Summer of Code project.
try-job: x86_64-msvc