Skip to content

Commit

Permalink
Merge pull request #231 from pacak/ci-exp
Browse files Browse the repository at this point in the history
Trying to fix CI failure
  • Loading branch information
pacak authored Dec 29, 2023
2 parents 8955190 + e7e31ac commit c5738ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions sample/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ impl SeedableRng for MyRngCore {
}

#[cfg(not(feature = "superbanana"))]
#[inline(never)]
pub fn main() -> u32 {
1 + 1
}
Expand All @@ -38,6 +39,7 @@ impl Bar {
}

#[cfg(feature = "superbanana")]
#[inline(never)]
pub fn main() {
let mut rng = BlockRng::<MyRngCore>::seed_from_u64(0);
for ix in 0..10 {
Expand Down
2 changes: 1 addition & 1 deletion sample_rlib/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#[inline(never)]
pub fn add(a: usize, b: usize) -> usize {
a + b
}

0 comments on commit c5738ba

Please sign in to comment.