Rain

Results 514 comments of Rain

I was looking at implementing this because I'd like it in guppy, and I'm wondering whether we need to treat filenames slightly differently than we do not. I did some...

Ah nvm: ``` git -c "core.quotePath=false" diff --cached ``` prints filenames without escaping them. Oh well.

You can use `include_str` in attributes on stable through a declarative macro, I believe. It's a bit of a hack but it works well. See https://github.com/facebookincubator/cargo-guppy/blob/main/tools/determinator/src/rules.rs#L159-L187 for an example, and...

Hi @LukeMathWalker -- `cargo nextest archive` runs `cargo test --no-run` with the specified arguments (in the above case `--release`), then puts test binaries + other support files into an archive....

@lcmgh I'd recommend looking at your Cargo.lock. I'd also recommend running cargo test --no-run separately to see if the same happens.

Thanks. Feel free to close this issue then. Would it be worth documenting this somewhere?

> this = "always no_std" or something else? ahh, good question! both of those things I guess? that bumpalo is always no_std and that this + the Windows issues are...

Note that #602 is going to require additional support.

(Let me know if I should target 0.4 or master for this)

If you base criterion on libtest-mimic 0.4.0 or above, this will automatically work FYI :)