Skip to content

Commit fda0919

Browse files
committed
Fix path, add macOS support
1 parent a85b118 commit fda0919

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

.github/workflows/kani.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
path: head
4545
submodules: true
4646
- name: Apply stdarch patch
47-
run: cd library/stdarch && patch -p1 < ../../stdarch.patch
47+
run: cd head/library/stdarch && patch -p1 < ../../stdarch.patch
4848

4949
# Step 2: Install jq
5050
- name: Install jq

stdarch.patch

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
1-
diff --git a/crates/core_arch/src/macros.rs b/crates/core_arch/src/macros.rs
2-
index f59e278b..f3d33636 100644
1+
--- a/crates/core_arch/src/arm_shared/neon/mod.rs
2+
+++ b/crates/core_arch/src/arm_shared/neon/mod.rs
3+
@@ -1,5 +1,8 @@
4+
//! ARMv7 NEON intrinsics
5+
6+
+#[cfg(kani)]
7+
+use crate::kani;
8+
+
9+
#[rustfmt::skip]
10+
mod generated;
11+
#[rustfmt::skip]
312
--- a/crates/core_arch/src/macros.rs
413
+++ b/crates/core_arch/src/macros.rs
514
@@ -128,6 +128,15 @@ macro_rules! types {
@@ -18,8 +27,6 @@ index f59e278b..f3d33636 100644
1827
$(#[$stability])+
1928
impl crate::fmt::Debug for $name {
2029
#[inline]
21-
diff --git a/crates/core_arch/src/x86/mod.rs b/crates/core_arch/src/x86/mod.rs
22-
index 0404b194..d57d1fc8 100644
2330
--- a/crates/core_arch/src/x86/mod.rs
2431
+++ b/crates/core_arch/src/x86/mod.rs
2532
@@ -1,5 +1,7 @@

0 commit comments

Comments
 (0)