-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Run no_core
rustdoc tests only on Linux
#89171
Run no_core
rustdoc tests only on Linux
#89171
Conversation
I don't really feel like playing wack-a-mole with these tests. Can you just change it to |
Windows on Macos ARM64 produce linker errors.
3dcf5b9
to
da6f01d
Compare
Done. |
no_core
rustdoc tests on aarch64-apple-darwin due to linker errorno_core
rustdoc tests only on Linux
(this is waiting on me running this locally on a Linux host and making sure it actually runs rather than being ignored - if you want to speed it up and have a Linux machine you could do that yourself, otherwise I'll try to get to it by this weekend.) |
I can confirm that the test now runs on Linux and is ignored on Macos. Linux:
Macos:
|
@bors r+ rollup Thanks! |
📌 Commit da6f01d has been approved by |
…i_fixes, r=jyn514 Run `no_core` rustdoc tests only on Linux I don't think this is really worth investigating further so I just disabled them. They currently fail like this: ``` error: linking with `cc` failed: exit status: 1 | = note: "cc" "-Wl,-exported_symbols_list,/var/folders/pg/gjhzdz7n361f0pv665d0723w0000gn/T/rustcPUsMpx/list" "-arch" "arm64" "/Users/hans/dev/rust/build/aarch64-apple-darwin/test/rustdoc/intra-doc/prim-methods-external-core/auxiliary/my-core.my_core.9f3c60de-cgu.0.rcgu.o" "/Users/hans/dev/rust/build/aarch64-apple-darwin/test/rustdoc/intra-doc/prim-methods-external-core/auxiliary/my-core.50fu2g9urkmisdsg.rcgu.o" "-L" "/Users/hans/dev/rust/build/aarch64-apple-darwin/native/rust-test-helpers" "-L" "/Users/hans/dev/rust/build/aarch64-apple-darwin/test/rustdoc/intra-doc/prim-methods-external-core/auxiliary" "-L" "/Users/hans/dev/rust/build/aarch64-apple-darwin/stage1/lib/rustlib/aarch64-apple-darwin/lib" "-L" "/Users/hans/dev/rust/build/aarch64-apple-darwin/stage1/lib/rustlib/aarch64-apple-darwin/lib" "-o" "/Users/hans/dev/rust/build/aarch64-apple-darwin/test/rustdoc/intra-doc/prim-methods-external-core/auxiliary/libmy_core.dylib" "-Wl,-dead_strip" "-dynamiclib" "-Wl,-dylib" "-Wl,-install_name" "-Wl,`@rpath/libmy_core.dylib"` "-nodefaultlibs" = note: ld: dynamic main executables must link with libSystem.dylib for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) ``` r? `@jyn514`
…ingjubilee Rollup of 7 pull requests Successful merges: - rust-lang#88612 (Add a better error message for rust-lang#39364) - rust-lang#89023 (Resolve issue : Somewhat confusing error with extended_key_value_attributes) - rust-lang#89148 (Suggest `_` in turbofish if param will be inferred from fn argument) - rust-lang#89171 (Run `no_core` rustdoc tests only on Linux) - rust-lang#89176 (Change singular to plural) - rust-lang#89184 (Temporarily rename int_roundings functions to avoid conflicts) - rust-lang#89200 (Fix typo) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
I don't think this is really worth investigating further so I just disabled them.
They currently fail like this:
r? @jyn514