Comments (3)
Seeing this too. My Cargo.toml looks like:
[package]
edition = "2021"
name = "compile_with_bazel"
version = "0.0.0"
[lib]
path = "fake_lib.rs"
[dependencies]
approx = "0.5.1"
chrono = "0.4.26"
clap = {version = "=4.3.12", features = ["derive"]}
exitfailure = "0.5.1"
rayon = "1.7.0"
reqwest = {version = "0.11.0", features = ["blocking", "json"]}
serde = "1.0.119"
serde_derive = "1.0.119"
serde_json = "1.0.61"
structopt = "0.3.21"
tokio = {version = "1.0.2", features = ["full"]}
[package.metadata.raze]
genmode = "Remote"
package_aliases_dir = "."
rust_rules_workspace_name = "rules_rust"
workspace_path = "//cargo"
[package.metadata.raze.crates.clap.'4.3.12']
data_attr = '[":README.md", ":examples/demo.md"]'
[package.metadata.raze.crates.clap_builder.'4.3.12']
data_attr = '[":README.md"]'
[package.metadata.raze.crates.clap_derive.'4.3.12']
data_attr = '[":README.md"]'
The rustix version is 0.38.4
from cargo-raze.
Looking at this template:
There doesn't seem to be any check that crate.default_deps.aliased_dependencies
and crate.targeted_deps[].deps.aliased_dependencies
does not contain duplicate.
from cargo-raze.
I just remove the duplicated line in generate build file to force compile proceed...,
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
- 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.