File tree 1 file changed +15
-0
lines changed
src/doc/rustc/src/codegen-options
1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -541,6 +541,21 @@ Supported values for this option are:
541
541
- ` symbols ` - same as ` debuginfo ` , but the rest of the symbol table section is
542
542
stripped as well if the linker supports it.
543
543
544
+ ## symbol-mangling-version
545
+
546
+ This option controls the [ name mangling] format for encoding Rust item names
547
+ for the purpose of generating object code and linking.
548
+
549
+ Supported values for this option are:
550
+
551
+ * ` v0 ` — The "v0" mangling scheme. The specific format is not specified at
552
+ this time.
553
+
554
+ The default if not specified will use a compiler-chosen default which may
555
+ change in the future.
556
+
557
+ [ name mangling ] : https://en.wikipedia.org/wiki/Name_mangling
558
+
544
559
## target-cpu
545
560
546
561
This instructs ` rustc ` to generate code specifically for a particular processor.
You can’t perform that action at this time.
0 commit comments