Attention is currently required from: Nico Weber.
1 comment:
Patchset:
Just realized we didn't apply this flag yet.
To view, visit change 3533899. To unsubscribe, or for help writing mail filters, visit settings.
Attention is currently required from: danakj.
Patch set 2:Code-Review +1
1 comment:
Patchset:
\o/
To view, visit change 3533899. To unsubscribe, or for help writing mail filters, visit settings.
Patch set 2:Commit-Queue +2
Patch set 2:-Commit-Queue
danakj uploaded patch set #3 to this change.
Use -Zremap-cwd-prefix to remove the cwd from Rust outputs
This commandline argument removes the current working directory,
replacing it with `.` in all build outputs.
R=tha...@chromium.org
Bug: 1292127
Change-Id: I55e9be5fc6ac9badf05f92f044b26dd757d82017
Cq-Include-Trybots: luci.chromium.try:android-rust-arm-dbg,android-rust-arm-rel,linux-rust-x64-rel
---
M build/config/compiler/BUILD.gn
1 file changed, 22 insertions(+), 4 deletions(-)
To view, visit change 3533899. To unsubscribe, or for help writing mail filters, visit settings.
Patch set 3:Commit-Queue +2
Chromium LUCI CQ submitted this change.
2 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
Use -Zremap-cwd-prefix to remove the cwd from Rust outputs
This commandline argument removes the current working directory,
replacing it with `.` in all build outputs.
R=tha...@chromium.org
Bug: 1292127
Change-Id: I55e9be5fc6ac9badf05f92f044b26dd757d82017
Cq-Include-Trybots: luci.chromium.try:android-rust-arm-dbg,android-rust-arm-rel,linux-rust-x64-rel
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3533899
Reviewed-by: Nico Weber <tha...@chromium.org>
Commit-Queue: danakj <dan...@chromium.org>
Cr-Commit-Position: refs/heads/main@{#982448}
---
M build/config/compiler/BUILD.gn
1 file changed, 26 insertions(+), 4 deletions(-)
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
index 48aa424..60165f1 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -820,13 +820,15 @@
"-Coverflow-checks=on",
# To make Rust .d files compatible with ninja
- "-Z",
- "dep-info-omit-d-target",
+ "-Zdep-info-omit-d-target",
# If a macro panics during compilation, show which macro and where it is
# defined.
- "-Z",
- "macro-backtrace",
+ "-Zmacro-backtrace",
+
+ # For deterministic builds, keep the local machine's current working
+ # directory from appearing in build outputs.
+ "-Zremap-cwd-prefix=.",
]
if (rust_abi_target != "") {
rustflags += [ "--target=$rust_abi_target" ]
To view, visit change 3533899. To unsubscribe, or for help writing mail filters, visit settings.