Comments (1)
....
Actually, per rust-lang/cargo#5122 (comment)
To expand on that, it's actually a bug in Cargo that Cargo thinks it knows what features are applied just after crate graph resolution. Instead Cargo should only know feature selection once it actually goes to compile crates which ends up dealing with target-specific dependencies and such.
This is a bug in cargo, and fixing it would be a divergence from cargo's current behavior. I'll avoid resolving this now, but keep the issue open and the related code areas tagged with TODOs. rust-lang/cargo#4463 seems to be the most related description of the issue and has lots of discussion.
from cargo-raze.
Related Issues (20)
- Issue importing axum with raze 0.15.0 HOT 1
- Bazel throws an error if the same dep appear in two select expressions HOT 1
- Feature Request: Add "tools" to CratesSettings HOT 1
- Incompatible with Rust 1.60 namespaced dependencies
- Switch path code to Camino HOT 1
- Error: Failed to create symlink for generating metadata HOT 1
- Make work with `--incompatible_disallow_empty_glob`
- No such target '@rust_darwin_aarch64//:cargo' HOT 1
- Allow re-pinning without updating dependencies HOT 1
- Incompatible with rules_rust whose version is 0.8.0 or later
- ld linker error: duplicate symbols HOT 1
- assertion failed: tree_output.status.success() in some binary-only targets HOT 8
- Support recursive submodules in git dependencies
- Missing iconv dependency
- Remove `rust_repositories ` and `include_rustc_srcs` are deprecated
- Tests don't clean up open descriptors
- `cargo raze` fails on macOS if `/tmp/cargo-raze/doesnt/exist` doesn't exist HOT 6
- cargo-raze generates duplicated `aliases` for [email protected] HOT 3
- new_local_repository is not generated in crates.bzl
- pure rust
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cargo-raze.