The treedirstate and rusttreedirstate packages are only built if a suitable
version of Cargo is available.
Details
- Reviewers
quark - Group Reviewers
Restricted Project - Commits
- rFBHGX2742730d0d39: setup: build treedirstate and rusttreedirstate packages
Diff Detail
- Repository
- rFBHGX Facebook Mercurial Extensions
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
setup.py | ||
---|---|---|
33 | Maybe this should be a hard error so people won't accidentally miss dependencies. |
setup.py | ||
---|---|---|
33 | I don't want to break users who simply don't have a rust toolchain installed from using the rest of fb-hgext. If USERUST is 1 then it's a hard failure, but if USERUST is not set then you just don't get rust-based code if you don't have a rust toolchain. We can change this later once rust toolchains are more commonplace and necessary. |
setup.py | ||
---|---|---|
33 | We could at least print a warning to stderr, so it's more debugable in build outputs. |
Maybe this should be a hard error so people won't accidentally miss dependencies.