mirror of
https://github.com/Swatinem/rust-cache.git
synced 2025-08-14 12:45:11 +00:00
Set empty CARGO_ENCODED_RUSTFLAGS
in workspace metadata retrieval.
This commit is contained in:
parent
98c8021b55
commit
8ce93b1664
@ -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…
x
Reference in New Issue
Block a user