mirror of
https://github.com/Swatinem/rust-cache
synced 2025-07-20 05:12:05 +00:00
Set empty CARGO_ENCODED_RUSTFLAGS
in workspace metadata retrieval.
This commit is contained in:
parent
98c8021b55
commit
8ce93b1664
1 changed files with 1 additions and 0 deletions
|
@ -15,6 +15,7 @@ export class Workspace {
|
|||
const meta: Meta = JSON.parse(
|
||||
await getCmdOutput("cargo", ["metadata", "--all-features", "--format-version", "1", ...extraArgs], {
|
||||
cwd: this.root,
|
||||
env: {"CARGO_ENCODED_RUSTFLAGS": ""},
|
||||
}),
|
||||
);
|
||||
core.debug(`workspace "${this.root}" has ${meta.packages.length} packages`);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue