Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Setting LIBRARY_PATH on macos 13 causes issues when compiling rust crates with rust dependencies compiling modern C++ in their build script. This can be reproduced without Corrosion by running: ``` LIBRARY_PATH=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib \ cargo rustc --lib --package cxxbridge-crate --manifest-path \ /path/to/cxxbridge/rust/Cargo.toml -- -Cdefault-linker-libraries=yes ``` Without LIBRARY_PATH the build completes without problems, but with the environment variable set the build script errors, since the C++ code contains e.g. C++11 extensions. Since on macos-13 everything works fine when removing LIBARY_PATH remove it for macos 13, but keep it for previous macos versions.
- Loading branch information