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

Commit

Permalink
Guard asm code with nightly as well for the time being
Browse files Browse the repository at this point in the history
  • Loading branch information
andre-richter committed May 23, 2022
1 parent d5b4bdf commit c5964a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/asm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ pub fn sev() {
/// Exception return
///
/// Will jump to wherever the corresponding link register points to, and therefore never return.
#[cfg(feature = "nightly")]
#[inline(always)]
pub fn eret() -> ! {
#[cfg(target_arch = "aarch64")]
Expand All @@ -103,6 +104,7 @@ pub fn eret() -> ! {
/// Function return
///
/// Will jump to wherever the corresponding link register points to, and therefore never return.
#[cfg(feature = "nightly")]
#[inline(always)]
pub fn ret() -> ! {
#[cfg(target_arch = "aarch64")]
Expand Down

0 comments on commit c5964a2

Please sign in to comment.