Skip to content

How to generate an integration test binary without rust_test? #913

Answered by UebelAndre
tamuhey asked this question in Q&A
Discussion options

You must be logged in to vote

Would you be able to build a rust_binary with rustc_flags = ["--test"]? I think this would enable the libtest harness and produce a binary that would match the binary created by rust_test but allow you to pass it to your sh_binary.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@tamuhey
Comment options

Answer selected by tamuhey
Comment options

You must be logged in to vote
1 reply
@tamuhey
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants