Skip to content

Commit 234e7c4

Browse files
committed
docs: this llvm feature only supports the ELF object format
1 parent 5e686b2 commit 234e7c4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/doc/unstable-book/src/compiler-flags/emit-stack-sizes.md

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ The tracking issue for this feature is: [#54192]
88

99
The rustc flag `-Z emit-stack-sizes` makes LLVM emit stack size metadata.
1010

11+
> **NOTE**: This LLVM feature only supports the ELF object format as of LLVM
12+
> 8.0. Using this flag with targets that use other object formats (e.g. macOS
13+
> and Windows) will result in it being ignored.
14+
1115
Consider this crate:
1216

1317
```

0 commit comments

Comments
 (0)