Skip to content

Commit 9898f30

Browse files
committed
Ignore macOS linker warning
error: linker stderr: ld: object file (/Users/runner/work/cxx/cxx/target/debug/build/demo-2282bebf5d027269/out/libcxxbridge-demo.a[2](c5956bd372116ff9-main.rs.o)) was built for newer 'macOS' version (14.5) than being linked (11.0) ld: object file (/Users/runner/work/cxx/cxx/target/debug/build/demo-2282bebf5d027269/out/libcxxbridge-demo.a[3](48d3f1b29a630f4c-blobstore.o)) was built for newer 'macOS' version (14.5) than being linked (11.0) ld: object file (/Users/runner/work/cxx/cxx/target/debug/deps/libcxx-d8ee9ba4c0f26afa.rlib[7](c16f17691ff6f04b-cxx.o)) was built for newer 'macOS' version (14.5) than being linked (11.0) | = note: `-D linker-messages` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(linker_messages)]`
1 parent 7118ff7 commit 9898f30

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ jobs:
5858
RUSTFLAGS: ${{env.RUSTFLAGS}} ${{matrix.os != 'ubuntu' && github.event_name != 'schedule' && '--cfg skip_ui_tests' || ''}}
5959
id: testsuite
6060
shell: bash
61+
- name: Ignore macOS linker warning
62+
run: echo RUSTFLAGS=${RUSTFLAGS}\ -Alinker_messages >> $GITHUB_ENV
63+
if: matrix.os == 'macos'
6164
- run: cargo run --manifest-path demo/Cargo.toml
6265
- run: cargo test --workspace ${{steps.testsuite.outputs.exclude}}
6366
- run: cargo check --no-default-features --features alloc

0 commit comments

Comments
 (0)