Skip to content
Commit 81e65745 authored by Collin Baker's avatar Collin Baker Committed by Chromium LUCI CQ
Browse files

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: default avatardanakj <danakj@chromium.org>
Commit-Queue: Collin Baker <collinbaker@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1120050}
parent a1a555ba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment