Skip to content

Commit 7c93e56

Browse files
committed
Give modules native name instead of imp
Helps when debugging and looking at symbols to see what we got.
1 parent 21d6e9f commit 7c93e56

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/raw/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ cfg_if! {
2323
any(target_arch = "x86", target_arch = "x86_64"),
2424
not(miri)
2525
))] {
26-
#[path = "sse2.rs"]
27-
mod imp;
26+
mod sse2;
27+
use sse2 as imp;
2828
} else {
29-
#[path = "generic.rs"]
30-
mod imp;
29+
mod generic;
30+
use generic as imp;
3131
}
3232
}
3333

0 commit comments

Comments
 (0)