Pass -Zforce-unstable-if-unmarked to std build crates
This flag is important: it prevents regular crates from accidentally requesting symbols from std-internal deps. We will likely need to provide custom metadata at some point too, since this fixes only the rustc side and not the linking side. The option is passed via a new gnrt_config.toml section. Bug: 1368806 Change-Id: If2a843216a0fb39d9263a27ca05597a012c6eb2d Cq-Include-Trybots: luci.chromium.try:android-rust-arm32-rel,android-rust-arm64-dbg,android-rust-arm64-rel,linux-rust-x64-dbg,linux-rust-x64-rel Change-Id: If2a843216a0fb39d9263a27ca05597a012c6eb2d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4351043 Auto-Submit: Collin Baker <collinbaker@chromium.org> Reviewed-by:danakj <danakj@chromium.org> Commit-Queue: Collin Baker <collinbaker@chromium.org> Cr-Commit-Position: refs/heads/main@{#1120050}
Loading
Please register or sign in to comment