소스 검색

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",