-
Notifications
You must be signed in to change notification settings - Fork 831
Infrastructure fixes #1935
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
Infrastructure fixes #1935
Conversation
fdc6ee9
to
1041ad5
Compare
It looks like the new Cargo-minimal.lock does not actually work. |
1041ad5
to
716dde2
Compare
Ok, I was misunderstanding how to update the lock files, now I read the instructions in |
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.
ACK 716dde25f22bad64e117a26424dc9e50a65d2d79
716dde2
to
4c64173
Compare
We use two different methods for specifying local dependencies, `patch` and also `path`. There does not seem to be a reason why we use both, lets be uniform. Elect to use `patch` for all local crates.
In order to keep the embedded and schemacs test crates building when we update their local transient dependencies we need to use a `patch` section. - For `bitcoin/embedded` add `patch` section for `internals`, `hashes` already has an entry. - For `hashes/embedded` add `patch` section for `internals`. - For `hashes/extendend_tests/schemars` add `patch` section for `internals`. FTR for direct local dependencies we use a `path` field when specifying the dependency.
To help folk work out how to run the `hashes/embedded` test crate copy over the `script` directory and an updated version of the `README` from `embedded/bitcoin`.
When building the `embedded` test crate `clippy` emits two warnings of form: warning: unused v 8000 ariable: `foo` Use `_` instead of a named variable.
Not totally necessary but since I went to the trouble of working out the last working version add it to the docs so the next guy can grep for `cargo update` to find them.
4c64173
to
7b402e9
Compare
Rebased on master, no other changes. |
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.
ACK 7b402e9
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.
ACK 7b402e9
Do a bunch of infrastructure fixes that either are needed for adding additional crate deps (hex) or updating deps (internals, hashes), or just make the tests more maintainable.