Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- D:\dev\lokacore>cargo miri test -- -- --test sse
- Compiling lokacore v0.0.3-alpha.0 (D:\dev\lokacore)
- running 0 tests
- test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
- Finished dev [unoptimized + debuginfo] target(s) in 1.12s
- Compiling lokacore v0.0.3-alpha.0 (D:\dev\lokacore)
- running 0 tests
- test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out
- Finished dev [unoptimized + debuginfo] target(s) in 0.91s
- Compiling lokacore v0.0.3-alpha.0 (D:\dev\lokacore)
- running 0 tests
- test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 2 filtered out
- Finished dev [unoptimized + debuginfo] target(s) in 0.90s
- Compiling lokacore v0.0.3-alpha.0 (D:\dev\lokacore)
- running 1 test
- error[E0080]: Miri evaluation error: tried to call a function with ABI RustIntrinsic using caller ABI PlatformIntrinsic
- --> C:\Users\Daniel\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\src\libcore\..\stdsimd\crates\core_arch\src\x86\sse.rs:31:5
- |
- 31 | simd_add(a, b)
- | ^^^^^^^^^^^^^^ Miri evaluation error: tried to call a function with ABI RustIntrinsic using caller ABI PlatformIntrinsic
- |
- note: inside call to `std::arch::x86_64::_mm_add_ps` at tests\sse.rs:59:17
- --> tests\sse.rs:59:17
- |
- 59 | let m_b = _mm_add_ps(m, b);
- | ^^^^^^^^^^^^^^^^
- note: inside call to `sse_sanity_tests` at tests\sse.rs:11:1
- --> tests\sse.rs:11:1
- |
- 11 | / fn sse_sanity_tests() {
- 12 | | // Note(Lokathor): Here is where many sanity checks for our assumptions of
- 13 | | // `__m128` will go.
- 14 | | #[cfg(target_arch = "x86")]
- ... |
- 73 | | }
- 74 | | }
- | |_^
- = note: inside call to closure at C:\Users\Daniel\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\src\libcore\ops\function.rs:231:5
- = note: inside call to `<[closure@tests\sse.rs:11:1: 74:2] as std::ops::FnOnce<()>>::call_once - shim` at C:\Users\Daniel\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\src\libcore\ops\function.rs:231:5
- = note: inside call to `<fn() as std::ops::FnOnce<()>>::call_once - shim(fn())` at C:\Users\Daniel\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\src\libtest\lib.rs:1520:5
- = note: inside call to `test::__rust_begin_short_backtrace::<fn()>` at C:\Users\Daniel\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\src\libtest\lib.rs:1511:30
- = note: inside call to closure at C:\Users\Daniel\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\src\libcore\ops\function.rs:231:5
- = note: inside call to `<[closure@DefId(13:388 ~ test[38a1]::run_test[0]::{{closure}}[3]) 0:fn()] as std::ops::FnOnce<()>>::call_once - shim(vtable)` at C:\Users\Daniel\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\src\liballoc\boxed.rs:746:9
- = note: inside call to `<std::boxed::Box<dyn std::ops::FnOnce() + std::marker::Send> as std::ops::FnOnce<()>>::call_once` at C:\Users\Daniel\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\src\libstd\panic.rs:309:9
- = note: inside call to `<std::panic::AssertUnwindSafe<std::boxed::Box<dyn std::ops::FnOnce() + std::marker::Send>> as std::ops::FnOnce<()>>::call_once` at C:\Users\Daniel\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\src\libstd\panicking.rs:294:40
- = note: inside call to `std::panicking::try::do_call::<std::panic::AssertUnwindSafe<std::boxed::Box<dyn std::ops::FnOnce() + std::marker::Send>>, ()>` at C:\Users\Daniel\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\src\libstd\panicking.rs:290:5
- = note: inside call to `std::panicking::try::<(), std::panic::AssertUnwindSafe<std::boxed::Box<dyn std::ops::FnOnce() + std::marker::Send>>>` at C:\Users\Daniel\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\src\libstd\panic.rs:388:9
- = note: inside call to `std::panic::catch_unwind::<std::panic::AssertUnwindSafe<std::boxed::Box<dyn std::ops::FnOnce() + std::marker::Send>>, ()>` at C:\Users\Daniel\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\src\libtest\lib.rs:1466:26
- = note: inside call to closure at C:\Users\Daniel\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\src\libtest\lib.rs:1488:13
- = note: inside call to `test::run_test::run_test_inner` at C:\Users\Daniel\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\src\libtest\lib.rs:1507:28
- = note: inside call to `test::run_test` at C:\Users\Daniel\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\src\libtest\lib.rs:1166:13
- = note: inside call to `test::run_tests::<[closure@DefId(13:315 ~ test[38a1]::run_tests_console[0]::{{closure}}[2]) 0:&mut test::ConsoleTestState, 1:&mut std::boxed::Box<dyn test::formatters::OutputFormatter>]>` at C:\Users\Daniel\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\src\libtest\lib.rs:971:5
- = note: inside call to `test::run_tests_console` at C:\Users\Daniel\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\src\libtest\lib.rs:292:15
- = note: inside call to `test::test_main` at C:\Users\Daniel\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\src\libtest\lib.rs:326:5
- = note: inside call to `test::test_main_static`
- = note: inside call to `main` at C:\Users\Daniel\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\src\libstd\rt.rs:64:34
- = note: inside call to closure at C:\Users\Daniel\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\src\libstd\rt.rs:52:53
- = note: inside call to closure at C:\Users\Daniel\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\src\libstd\panicking.rs:294:40
- = note: inside call to `std::panicking::try::do_call::<[closure@DefId(1:5819 ~ std[2c15]::rt[0]::lang_start_internal[0]::{{closure}}[0]) 0:&dyn std::ops::Fn() -> i32 + std::marker::Sync + std::panic::RefUnwindSafe], i32>` at C:\Users\Daniel\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\src\libstd\panicking.rs:290:5
- = note: inside call to `std::panicking::try::<i32, [closure@DefId(1:5819 ~ std[2c15]::rt[0]::lang_start_internal[0]::{{closure}}[0]) 0:&dyn std::ops::Fn() -> i32 + std::marker::Sync + std::panic::RefUnwindSafe]>` at C:\Users\Daniel\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\src\libstd\panic.rs:388:9
- = note: inside call to `std::panic::catch_unwind::<[closure@DefId(1:5819 ~ std[2c15]::rt[0]::lang_start_internal[0]::{{closure}}[0]) 0:&dyn std::ops::Fn() -> i32 + std::marker::Sync + std::panic::RefUnwindSafe], i32>` at C:\Users\Daniel\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\src\libstd\rt.rs:52:25
- = note: inside call to `std::rt::lang_start_internal` at C:\Users\Daniel\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\src\libstd\rt.rs:64:5
- = note: inside call to `std::rt::lang_start::<()>`
- error: aborting due to previous error
- For more information about this error, try `rustc --explain E0080`.
- test sse_sanity_tests ...
- error: Could not compile `lokacore`.
- To learn more, run the command again with --verbose.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement