about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorAmanieu d'Antras <amanieu@gmail.com>2022-10-17 22:38:37 +0100
committerAmanieu d'Antras <amanieu@gmail.com>2022-10-17 22:38:37 +0100
commit430bd6200dd290497423c5f3a1f9ee4e9bd35d67 (patch)
tree6dfd2892bd2ab12d972f05174b5fd1fd9f5702fa /src/doc
parent6b3ede3f7bc502eba7bbd202b4b9312d812adcd7 (diff)
downloadrust-430bd6200dd290497423c5f3a1f9ee4e9bd35d67.tar.gz
rust-430bd6200dd290497423c5f3a1f9ee4e9bd35d67.zip
Stabilize asm_sym
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/unstable-book/src/language-features/asm-sym.md13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/doc/unstable-book/src/language-features/asm-sym.md b/src/doc/unstable-book/src/language-features/asm-sym.md
deleted file mode 100644
index 103d91caf4c..00000000000
--- a/src/doc/unstable-book/src/language-features/asm-sym.md
+++ /dev/null
@@ -1,13 +0,0 @@
-# `asm_sym`
-
-The tracking issue for this feature is: [#93333]
-
-[#93333]: https://github.com/rust-lang/rust/issues/93333
-
-------------------------
-
-This feature adds a `sym <path>` operand type to `asm!` and `global_asm!`.
-- `<path>` must refer to a `fn` or `static`.
-- A mangled symbol name referring to the item is substituted into the asm template string.
-- The substituted string does not include any modifiers (e.g. GOT, PLT, relocations, etc).
-- `<path>` is allowed to point to a `#[thread_local]` static, in which case the asm code can combine the symbol with relocations (e.g. `@plt`, `@TPOFF`) to read from thread-local data.