Skip to content

Commit cb6b61a

Browse files
committed
Fix stdsimd-verify
1 parent 322f7a4 commit cb6b61a

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

crates/stdsimd-verify/build.rs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,16 @@ use std::path::Path;
33
fn main() {
44
let dir = Path::new(env!("CARGO_MANIFEST_DIR"));
55
let root = dir.parent().unwrap();
6-
walk(&root.join("../coresimd/x86"));
7-
walk(&root.join("../coresimd/x86_64"));
8-
walk(&root.join("../coresimd/arm"));
9-
walk(&root.join("../coresimd/aarch64"));
6+
eprintln!("root: {}", root.display());
7+
walk(&root.join("core_arch/src/x86"));
8+
walk(&root.join("core_arch/src/x86_64"));
9+
walk(&root.join("core_arch/src/arm"));
10+
walk(&root.join("core_arch/src/aarch64"));
1011
}
1112

1213
fn walk(root: &Path) {
1314
for file in root.read_dir().unwrap() {
15+
eprintln!("root: {}", root.display());
1416
let file = file.unwrap();
1517
if file.file_type().unwrap().is_dir() {
1618
walk(&file.path());

crates/stdsimd-verify/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ use proc_macro::TokenStream;
1313

1414
#[proc_macro]
1515
pub fn x86_functions(input: TokenStream) -> TokenStream {
16-
functions(input, &["../coresimd/x86", "../coresimd/x86_64"])
16+
functions(input, &["core_arch/src/x86", "core_arch/src/x86_64"])
1717
}
1818

1919
#[proc_macro]
2020
pub fn arm_functions(input: TokenStream) -> TokenStream {
21-
functions(input, &["../coresimd/arm", "../coresimd/aarch64"])
21+
functions(input, &["core_arch/src/arm", "core_arch/src/aarch64"])
2222
}
2323

2424
fn functions(input: TokenStream, dirs: &[&str]) -> TokenStream {

0 commit comments

Comments
 (0)