commit | 464f3b381eac9bdf6957f7d6ad23e8a4569c38cd | [log] [tgz] |
---|---|---|
author | Ivan Lozano <ivanlozano@google.com> | Thu Jun 22 18:03:16 2023 +0000 |
committer | Ivan Lozano <ivanlozano@google.com> | Thu Jun 22 18:03:16 2023 +0000 |
tree | d0c9995536684facb76672d75030e1be3c30f008 | |
parent | 8f557323178a088603af6c2dbb74d485aef27cf1 [diff] [blame] |
rust: Enable stack-protector for Rust modules Bug: 288407220 Test: m Change-Id: Ifea0d4e3be715d9cef74ddfc6e64447a006fe0ed
diff --git a/rust/config/global.go b/rust/config/global.go index f838d0e..d844a25 100644 --- a/rust/config/global.go +++ b/rust/config/global.go
@@ -41,6 +41,7 @@ } GlobalRustFlags = []string{ + "-Z stack-protector=strong", "-Z remap-cwd-prefix=.", "-C codegen-units=1", "-C debuginfo=2",