-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rust: support packaging and publishing #584
Conversation
f0b2ff7
to
bc11745
Compare
@@ -11,8 +11,22 @@ use std::env; | |||
use std::path::PathBuf; | |||
|
|||
fn main() { | |||
// This is the root directory. | |||
let src = "../../"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For some reason cargo package
copies over symlinks to files with an updated path (that's why this works on evmc, where we only need the header which is symlinked), but symlinking the root does not work (e.g. bindings/rust/fizzy -> ../../
).
This makes `cargo package` to work.
Codecov Report
@@ Coverage Diff @@
## master #584 +/- ##
=======================================
Coverage 98.23% 98.23%
=======================================
Files 62 62
Lines 8990 8990
=======================================
Hits 8831 8831
Misses 159 159 |
No description provided.