Closed Titaniumtown closed 1 week ago
Initial inspection, it works if I clone the repo manually and run cargo test
(on 1.83.0-nightly (adaff5368 2024-09-12)
)
Hello, thanks for the report! ππΌ
First of all I really hate that test - we need a better test suite (#5)
Secondly, is there a chance that you are running tests in --release
mode and that's why .debug_str
does not exist in the binary?
I had the same issue. Nix by default runs test in release mode, but after switching to debug mode it still didn't pass checks.
I don't know how cargo and rust work but doing https://github.com/orhun/binsider/pull/30 fixed building for me.
Hello, thanks for the report! ππΌ
First of all I really hate that test - we need a better test suite (#5)
Secondly, is there a chance that you are running tests in
--release
mode and that's why.debug_str
does not exist in the binary?
Thank you for your response. I believe nix runs it in release mode. I'll test @ch4og's PR and report back :)
Describe the bug
The
test_extract_strings
test fails when building from nix.To reproduce
nix run "github:orhun/binsider"
Expected behavior
It should build and pass all tests
Screenshots / Logs
Software information