Skip to content

Commit 5d61dca

Browse files
committed
Add documentation on v0 symbol mangling.
1 parent 2f896da commit 5d61dca

File tree

4 files changed

+1233
-2
lines changed

4 files changed

+1233
-2
lines changed

src/doc/rustc/book.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@ title = "The rustc book"
66
[output.html]
77
git-repository-url = "https://github.com/rust-lang/rust/tree/master/src/doc/rustc"
88
edit-url-template = "https://github.com/rust-lang/rust/edit/master/src/doc/rustc/{path}"
9+
10+
[output.html.playground]
11+
runnable = false

src/doc/rustc/src/SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
- [What is rustc?](what-is-rustc.md)
44
- [Command-line Arguments](command-line-arguments.md)
55
- [Codegen Options](codegen-options/index.md)
6+
- [Symbol Mangling](codegen-options/symbol-mangling.md)
67
- [Lints](lints/index.md)
78
- [Lint Levels](lints/levels.md)
89
- [Lint Groups](lints/groups.md)

src/doc/rustc/src/codegen-options/index.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -569,13 +569,15 @@ for the purpose of generating object code and linking.
569569

570570
Supported values for this option are:
571571

572-
* `v0` — The "v0" mangling scheme. The specific format is not specified at
573-
this time.
572+
* `v0` — The "v0" mangling scheme.
574573

575574
The default, if not specified, will use a compiler-chosen default which may
576575
change in the future.
577576

577+
See the [Symbol Mangling] chapter for details on symbol mangling and the mangling format.
578+
578579
[name mangling]: https://en.wikipedia.org/wiki/Name_mangling
580+
[Symbol Mangling]: symbol-mangling.md
579581

580582
## target-cpu
581583

0 commit comments

Comments
 (0)