Coder Social home page Coder Social logo

Comments (3)

dayfine avatar dayfine commented on June 12, 2024

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.

dayfine avatar dayfine commented on June 12, 2024

Looking at this template:

{%- for k, alias in crate.default_deps.aliased_dependencies %}
"{{alias.target}}": "{{alias.alias}}",
{%- endfor %}
{%- for dep in crate.targeted_deps %}
{%- for k, alias in dep.deps.aliased_dependencies %}
"{{alias.target}}": "{{alias.alias}}",
{%- endfor %}
{%- endfor %}

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.

hxndg avatar hxndg commented on June 12, 2024

I just remove the duplicated line in generate build file to force compile proceed...,

from cargo-raze.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.