about summary refs log tree commit diff
path: root/compiler/rustc_session/src
diff options
context:
space:
mode:
authorcsmoe <csmoe@msn.com>2022-07-25 05:20:23 +0000
committercsmoe <csmoe@msn.com>2022-07-25 05:20:23 +0000
commit6674c94d15e8bdf2d6d3d53d73acb28bd0b10c36 (patch)
treeace1d2282a58db5166ec321812a965f05ee0cf94 /compiler/rustc_session/src
parentbabff2211e3ae9ef52852dc1b01f3eacdd94c12e (diff)
downloadrust-6674c94d15e8bdf2d6d3d53d73acb28bd0b10c36.tar.gz
rust-6674c94d15e8bdf2d6d3d53d73acb28bd0b10c36.zip
feat: impl export-executable-symbols
Diffstat (limited to 'compiler/rustc_session/src')
-rw-r--r--compiler/rustc_session/src/options.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_session/src/options.rs b/compiler/rustc_session/src/options.rs
index 1b583417ca0..28e2e0db89a 100644
--- a/compiler/rustc_session/src/options.rs
+++ b/compiler/rustc_session/src/options.rs
@@ -1282,6 +1282,8 @@ options! {
         "emit a section containing stack size metadata (default: no)"),
     emit_thin_lto: bool = (true, parse_bool, [TRACKED],
         "emit the bc module with thin LTO info (default: yes)"),
+    export_executable_symbols: bool = (false, parse_bool, [TRACKED],
+        "export symbols from executables, as if they were dynamic libraries"),
     fewer_names: Option<bool> = (None, parse_opt_bool, [TRACKED],
         "reduce memory use by retaining fewer names within compilation artifacts (LLVM-IR) \
         (default: no)"),