hax icon indicating copy to clipboard operation
hax copied to clipboard

librustc_driver not found when running tests

Open maximebuyse opened this issue 1 year ago • 2 comments

When I run cargo test --test toolchain I get the following error:

/home/maxime/cryspen/hax/target/debug/cargo-hax: error while loading shared libraries: librustc_driver-f4e5b0d07cf2a17f.so: cannot open shared object file: No such file or directory

Building hax first and then running CARGO_TESTS_ASSUME_BUILT=y cargo test --test toolchain -- let-else works as a workaround.

maximebuyse avatar Jul 17 '24 15:07 maximebuyse

So this is a regression from #743? @W95Psp why aren't there tests catching something like this?

franziskuskiefer avatar Jul 19 '24 09:07 franziskuskiefer

I don't know whether that's a regression from #743. I suspect that's a brittle bug that depends on setup. The CI uses this test harness with no problem, @maximebuyse and I need to investigate.

W95Psp avatar Jul 29 '24 07:07 W95Psp

This issue has been marked as stale due to a lack of activity for 60 days. If you believe this issue is still relevant, please provide an update or comment to keep it open. Otherwise, it will be closed in 7 days.

github-actions[bot] avatar Sep 28 '24 02:09 github-actions[bot]

No one stumbled upon this issue again, it seems, let's close.

W95Psp avatar Sep 30 '24 06:09 W95Psp