Skip to content

Commit f4d51b8

Browse files
committed
Correct branch-protection documentation.
The branch-protection codegen option has always been treated as an error for non-AArch64 targets.
1 parent 49f3c0b commit f4d51b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/unstable-book/src/compiler-flags/branch-protection.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# `branch-protection`
22

33
This option lets you enable branch authentication instructions on AArch64.
4-
This option is ignored for non-AArch64 architectures.
4+
This option is only accepted when targeting AArch64 architectures.
55
It takes some combination of the following values, separated by a `,`.
66

77
- `pac-ret` - Enable pointer authentication for non-leaf functions.

0 commit comments

Comments
 (0)