Explorar o código

rust: Enable stack-protector for Rust modules

Bug: 288407220
Test: m
Change-Id: Ifea0d4e3be715d9cef74ddfc6e64447a006fe0ed
Ivan Lozano hai 11 meses
pai
achega
464f3b381e
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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",