Problem
In the following repo:
https://github.com/yongqli/bug-test
Running
RUSTFLAGS="-L/opt/homebrew/opt/libomp/lib" cargo build --release
on macOS works, but running
RUSTFLAGS="-L/opt/homebrew/opt/libomp/lib" cargo test --doc
fails with linker error.
Tested on cargo 1.71
Steps
No response
Possible Solution(s)
No response
Notes
On macOs you may need to install dependencies by running brew install libomp.
Version
No response