diff --git a/dist/restore/index.js b/dist/restore/index.js index 12dff11..e78857c 100644 --- a/dist/restore/index.js +++ b/dist/restore/index.js @@ -144357,6 +144357,7 @@ class Workspace { lib_core.debug(`collecting metadata for "${this.root}"`); const meta = JSON.parse(await getCmdOutput("cargo", ["metadata", "--all-features", "--format-version", "1", ...extraArgs], { cwd: this.root, + env: { "CARGO_ENCODED_RUSTFLAGS": "" }, })); lib_core.debug(`workspace "${this.root}" has ${meta.packages.length} packages`); for (const pkg of meta.packages.filter(filter)) { diff --git a/dist/save/index.js b/dist/save/index.js index 42b46c7..74a1ac7 100644 --- a/dist/save/index.js +++ b/dist/save/index.js @@ -144357,6 +144357,7 @@ class Workspace { core.debug(`collecting metadata for "${this.root}"`); const 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`); for (const pkg of meta.packages.filter(filter)) {