You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Almost everything works, but I'm not sure how to pass --target. Specifically:
It seems that -p and --lib need to go before the --, and then other items go after; e.g. from 0.21.0 to 0.21.2:
-cargo insta test --accept -- -p mdbook-prql run_examples+cargo insta test --accept -p mdbook-prql -- run_examples
But I can't get cargo insta test --accept -- --target=wasm32-unknown-unknown to work, with --target either before the -- or after. (after two-- doesn't raise an error but also doesn't seem to do anything)
Finished test [unoptimized + debuginfo] target(s) in 0.36s
Running unittests src/main.rs (target/debug/deps/mdbook_prql-c1048722bc7cd3a6)
error: Unrecognized option: 'target'
What happened?
Thanks a lot for the changes from #301.
Almost everything works, but I'm not sure how to pass
--target
. Specifically:-p
and--lib
need to go before the--
, and then other items go after; e.g. from 0.21.0 to 0.21.2:cargo insta test --accept -- --target=wasm32-unknown-unknown
to work, with--target
either before the--
or after. (after two--
doesn't raise an error but also doesn't seem to do anything)(ref PRQL/prql#1172)
Sorry if this is a pain...
Reproduction steps
No response
Insta Version
0.21.2
rustc Version
rustc 1.64.0 (a55dd71d5 2022-09-19)
What did you expect?
No response
The text was updated successfully, but these errors were encountered: