Skip to content
This repository was archived by the owner on Nov 7, 2022. It is now read-only.

Commit c5964a2

Browse files
committed
Guard asm code with nightly as well for the time being
1 parent d5b4bdf commit c5964a2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/asm.rs

+2
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ pub fn sev() {
8888
/// Exception return
8989
///
9090
/// Will jump to wherever the corresponding link register points to, and therefore never return.
91+
#[cfg(feature = "nightly")]
9192
#[inline(always)]
9293
pub fn eret() -> ! {
9394
#[cfg(target_arch = "aarch64")]
@@ -103,6 +104,7 @@ pub fn eret() -> ! {
103104
/// Function return
104105
///
105106
/// Will jump to wherever the corresponding link register points to, and therefore never return.
107+
#[cfg(feature = "nightly")]
106108
#[inline(always)]
107109
pub fn ret() -> ! {
108110
#[cfg(target_arch = "aarch64")]

0 commit comments

Comments
 (0)