We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b39fd69 commit f262e31Copy full SHA for f262e31
packages/ferric/src/cargo.ts
@@ -216,6 +216,10 @@ export function getTargetEnvironmentVariables({
216
};
217
} else if (isAppleTarget(target)) {
218
const weakNodeApiFrameworkPath = getWeakNodeApiFrameworkPath(target);
219
+ assert(
220
+ fs.existsSync(weakNodeApiFrameworkPath),
221
+ `Expected weak-node-api framework at ${weakNodeApiFrameworkPath}`,
222
+ );
223
return {
224
CARGO_ENCODED_RUSTFLAGS: [
225
"-L",
0 commit comments