W3cubDocs

/Rust

Macro std::asm

macro_rules! asm {
    ("assembly template",
            $(operands,)*
            $(options($(option),*))?
        ) => { ... };
}
🔬 This is a nightly-only experimental API. (asm #72016)inline assembly is not stable enough for use and is subject to change

Inline assembly.

Read the unstable book for the usage.

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/macro.asm.html