about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/snippet.rs
diff options
context:
space:
mode:
authorGreg V <greg@unrelenting.technology>2020-07-31 02:55:12 +0300
committerGreg V <greg@unrelenting.technology>2020-08-09 17:52:00 +0300
commitddbc45673b11f706e94fa17730eaa5c113f224d7 (patch)
treedbb045a5f104185487eb9927913306a966a22f9c /compiler/rustc_errors/src/snippet.rs
parent2f39477ecffb0dd3a08bf76bfb44aafcdb4aae6a (diff)
downloadrust-ddbc45673b11f706e94fa17730eaa5c113f224d7.tar.gz
rust-ddbc45673b11f706e94fa17730eaa5c113f224d7.zip
Add RUST_STD_FREEBSD_12_ABI env variable
Unfortunately, sanitizers do not support versioned symbols[1],
so they break filesystem access via the legacy, pre-ino64 ABI.

To use sanitizers on FreeBSD >= 12, we need to build the libc
crate with LIBC_CI=1 to use the new ABI -- including the libc
used for std. But that removes the st_lspare field std was
expecting for the deprecated metadata extension.

Add a way to skip that field to allow the build to work.

[1]: https://github.com/google/sanitizers/issues/628
Diffstat (limited to 'compiler/rustc_errors/src/snippet.rs')
0 files changed, 0 insertions, 0 deletions