commit | 056bf7dfce4237a083f35b1765007f15a547368c | [log] [tgz] |
---|---|---|
author | Adrian Taylor <adetaylor@chromium.org> | Fri Jan 21 03:21:19 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jan 21 03:21:19 2022 |
tree | 42500b02079ccc5cc45e8e3eb705c33b788ce91a | |
parent | ab7ad77426ad814dbc50389f269b5d21d2808a64 [diff] |
[rust] Enable ASAN builds of Rust executables. Prior to this change, builds would fail with enable_rust = true is_asan = true They would fail due to a lack of 'operator new' and similar symbols. Such symbols are provided by the sanitizer runtime, and we were asking rustc to use clang for linking rather than clang++, so such symbols were not provided. With this change, ASAN builds are successful, though untested. Bug: 1247399 Change-Id: I869840db2b957e0261faf9a4414ad91f0ab8cd6d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3350825 Reviewed-by: Nico Weber <thakis@chromium.org> Commit-Queue: Adrian Taylor <adetaylor@chromium.org> Cr-Commit-Position: refs/heads/main@{#961771}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.