You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adjust windows CRT linking for the new /defaultlib linking in core.
This more strictly follows the recipe in
rust-lang/rust#122268 (comment)
And we remove the -Zlink-directives=false for building the libc crate,
as that crate no longer provides the CRT link directives.
The link directives are now in core, and are done through /defaultlib
so that we can remove it in the command line with /nodefaultlib. This
allows us to control linking entirely through our GN linking rules,
and not during stdlib compilation, giving us support for prebuilt
Rust stdlib as well.
R=thakis@chromium.org
Bug: 5476668
Change-Id: I1466c4f721a9d8cc9ac3465c2e15f866b731a738
Cq-Include-Trybots: luci.chromium.try:android-rust-arm32-rel,android-rust-arm64-rel,android-rust-arm64-dbg,linux-rust-x64-dbg,linux-rust-x64-rel,mac-rust-x64-dbg,win-rust-x64-dbg,win-rust-x64-rel
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5477889
Reviewed-by: Nico Weber <thakis@chromium.org>
Commit-Queue: danakj <danakj@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1292464}
NOKEYCHECK=True
GitOrigin-RevId: 714e31ddaca456ecf74d7f6f309447d6095f7ed4
0 commit comments