-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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. [email protected] 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 <[email protected]> Commit-Queue: danakj <[email protected]> Cr-Commit-Position: refs/heads/main@{#1292464} NOKEYCHECK=True GitOrigin-RevId: 714e31ddaca456ecf74d7f6f309447d6095f7ed4
- Loading branch information
1 parent
dfdfe58
commit 3572630
Showing
3 changed files
with
28 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters