mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
Rollup merge of #108997 - tgross35:patch-1, r=JohnTitor
Change text -> rust highlighting in sanitizer.md Not sure why this has syntax highlighting turned off, but it doesn't need to be Relevant page: https://doc.rust-lang.org/beta/unstable-book/compiler-flags/sanitizer.html
This commit is contained in:
commit
59d9cbfa14
@ -213,7 +213,7 @@ See the [Clang ControlFlowIntegrity documentation][clang-cfi] for more details.
|
||||
|
||||
## Example
|
||||
|
||||
```text
|
||||
```rust,ignore
|
||||
#![feature(naked_functions)]
|
||||
|
||||
use std::arch::asm;
|
||||
@ -238,7 +238,7 @@ pub extern "C" fn add_two(x: i32) {
|
||||
nop
|
||||
nop
|
||||
nop
|
||||
lea rax, [rdi+2]
|
||||
lea eax, [edi+2]
|
||||
ret
|
||||
",
|
||||
options(noreturn)
|
||||
|
Loading…
Reference in New Issue
Block a user