Rain
Rain
This method needs to be updated to also grab the sysroot: https://github.com/nextest-rs/nextest/blob/3ab960d09adf233abf264de2ebb4d6758e77cd70/nextest-runner/src/list/test_list.rs#L385
I'm not sure what nix is doing, but it does look like they had to work around a very similar issue on just macOS here: https://github.com/oxalica/rust-overlay/blob/44801306a2aa0e9aaa47588d615ce6df4acf18c6/mk-component-set.nix#L89
This is exactly what we would have to fix, except we'll use DYLD_FALLBACK_LIBRARY_PATH rather than adding the rpath to the binary.
Yeah that definitely looks like it. I'm not sure how this would work with reused builds. We currently promise not to require rustc, but we may not be able to...
You want `DYLD_FALLBACK_LIBRARY_PATH=$(rustc --print sysroot)/lib`
Agreed about supporting it properly by updating the sysroot, though given the complexity and edge case nature here (only occurs for proc-macro tests + not using cargo from rustup) I'm...
Thanks for the request! Hmmm, this is a really interesting idea. So basically examine the set of test binaries that were rebuilt, and run tests for just those binaries. I've...
@davemilter so your plan was to run `cargo build && touch && cargo nextest run -E 'rebuilt()'`? Interesting, definitely see the use case for that.
Hi Guilhem! Hope you're doing well :) Good question -- currently, nextest includes any non-test binaries which have corresponding integration tests in their crates. So if you can include an...
Actually -- for now I think maybe pass it in as an extra argument to `cargo nextest archive` to keep things simple. Something like `cargo nextest archive --extra-include target/debug/foo --extra-include...