From 234e7c4d2efe249f1c38e23cf12ae84e65ee7e08 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Wed, 26 Sep 2018 15:25:57 +0200 Subject: [PATCH] docs: this llvm feature only supports the ELF object format --- src/doc/unstable-book/src/compiler-flags/emit-stack-sizes.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/doc/unstable-book/src/compiler-flags/emit-stack-sizes.md b/src/doc/unstable-book/src/compiler-flags/emit-stack-sizes.md index b5456f9ba39..47f45a0b91f 100644 --- a/src/doc/unstable-book/src/compiler-flags/emit-stack-sizes.md +++ b/src/doc/unstable-book/src/compiler-flags/emit-stack-sizes.md @@ -8,6 +8,10 @@ The tracking issue for this feature is: [#54192] The rustc flag `-Z emit-stack-sizes` makes LLVM emit stack size metadata. +> **NOTE**: This LLVM feature only supports the ELF object format as of LLVM +> 8.0. Using this flag with targets that use other object formats (e.g. macOS +> and Windows) will result in it being ignored. + Consider this crate: ``` -- 2.44.0