瀏覽代碼

rust: Enable stack-protector for Rust modules

Bug: 288407220
Test: m
Change-Id: Ifea0d4e3be715d9cef74ddfc6e64447a006fe0ed
Ivan Lozano 11 月之前
父節點
當前提交
464f3b381e
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      rust/config/global.go

+ 1 - 0
rust/config/global.go

@@ -41,6 +41,7 @@ var (
 	}
 
 	GlobalRustFlags = []string{
+		"-Z stack-protector=strong",
 		"-Z remap-cwd-prefix=.",
 		"-C codegen-units=1",
 		"-C debuginfo=2",