Open ImJeremyHe opened 2 years ago
in macOs, with cargo-raze 0.16.0
cargo raze --verbose
And the output:
Loaded override settings: RazeSettings { workspace_path: "//cargo", package_aliases_dir: ".", render_package_aliases: true, target: None, targets: Some( { "x86_64-apple-darwin", "x86_64-pc-windows-msvc", "x86_64-unknown-linux-gnu", }, ), binary_deps: {}, crates: {}, gen_workspace_prefix: "raze", genmode: Remote, output_buildfile_suffix: "BUILD.bazel", default_gen_buildrs: true, registry: "https://crates.io/api/v1/crates/{crate}/{version}/download", index_url: "https://github.com/rust-lang/crates.io-index", rust_rules_workspace_name: "rules_rust", vendor_dir: "vendor", experimental_api: false, } Error: Failed to create symlink for generating metadata Caused by: File exists (os error 17)
I debugged this issue and found that src directory in my root directory caused the issue due to this line: https://github.com/google/cargo-raze/blob/142d1b3c63b235eaebddad1829746f6f208fd8a6/impl/src/metadata.rs
src
in macOs, with cargo-raze 0.16.0
And the output: