Skip to content

Demo project to show that crane uses the binary from `cargo test`

Notifications You must be signed in to change notification settings

yaxitech/crane-test-binary-reproducer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This projects demonstrates that crane copies the binary created by cargo test into the output and not the binary created by cargo build.

This can make a difference because the binary built by cargo test also uses dev-dependencies.

$ nix run .#with-crane
Dev!
$ nix run .#with-nixpkgs
Not dev

About

Demo project to show that crane uses the binary from `cargo test`

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published