diff options
| author | Jakub Beránek <berykubik@gmail.com> | 2025-02-20 21:23:10 +0100 |
|---|---|---|
| committer | Jakub Beránek <berykubik@gmail.com> | 2025-03-31 09:44:40 +0200 |
| commit | 9800eb2cabd962ff1899e94841b15ca9dc874528 (patch) | |
| tree | b56458c98ac4e5e4db346850a7b8ede98f96d885 /compiler/rustc_session/src | |
| parent | 0666b740e5fd06f682a9a8d539b6ea3bb1d56538 (diff) | |
| download | rust-9800eb2cabd962ff1899e94841b15ca9dc874528.tar.gz rust-9800eb2cabd962ff1899e94841b15ca9dc874528.zip | |
Add `-Zembed-metadata` CLI option
Diffstat (limited to 'compiler/rustc_session/src')
| -rw-r--r-- | compiler/rustc_session/src/options.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_session/src/options.rs b/compiler/rustc_session/src/options.rs index 4cc666b3e37..cd5e2c4173e 100644 --- a/compiler/rustc_session/src/options.rs +++ b/compiler/rustc_session/src/options.rs @@ -2175,6 +2175,8 @@ options! { them only if an error has not been emitted"), ehcont_guard: bool = (false, parse_bool, [TRACKED], "generate Windows EHCont Guard tables"), + embed_metadata: bool = (true, parse_bool, [TRACKED], + "embed metadata in rlibs and dylibs (default: yes)"), embed_source: bool = (false, parse_bool, [TRACKED], "embed source text in DWARF debug sections (default: no)"), emit_stack_sizes: bool = (false, parse_bool, [UNTRACKED], |
