mirror of
https://github.com/Swatinem/rust-cache
synced 2025-10-17 14:50:26 +00:00
Set empty CARGO_ENCODED_RUSTFLAGS
in workspace metadata retrieval (#249)
This commit is contained in:
parent
98c8021b55
commit
7e1e2d0a10
3 changed files with 3 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