We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 174ee2f commit 92dead6Copy full SHA for 92dead6
core/src/intrinsics/mir.rs
@@ -80,6 +80,8 @@ define!("mir_goto", fn Goto(destination: BasicBlock) -> BasicBlock);
80
define!("mir_retag", fn Retag<T>(place: T));
81
define!("mir_retag_raw", fn RetagRaw<T>(place: T));
82
define!("mir_move", fn Move<T>(place: T) -> T);
83
+define!("mir_static", fn Static<T>(s: T) -> &'static T);
84
+define!("mir_static_mut", fn StaticMut<T>(s: T) -> *mut T);
85
86
/// Convenience macro for generating custom MIR.
87
///
0 commit comments