Skip to content

Commit 84e7558

Browse files
Rollup merge of #89171 - rusticstuff:aarch64_macos_rustdoc_ci_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`
2 parents 5f48933 + da6f01d commit 84e7558

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/rustdoc/cross-crate-primitive-doc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// aux-build:primitive-doc.rs
22
// compile-flags: --extern-html-root-url=primitive_doc=../ -Z unstable-options
3-
// ignore-windows
3+
// only-linux
44

55
#![feature(no_core)]
66
#![no_core]

src/test/rustdoc/intra-doc/prim-methods-external-core.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// aux-build:my-core.rs
22
// build-aux-docs
33
// ignore-cross-compile
4-
// ignore-windows
4+
// only-linux
55

66
#![deny(broken_intra_doc_links)]
77
#![feature(no_core, lang_items)]

0 commit comments

Comments
 (0)