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 8de6f11 commit fb45402Copy full SHA for fb45402
packages/cmake-rn/src/cli.ts
@@ -219,6 +219,11 @@ program = program.action(
219
const tripletContexts = [...triplets].map((triplet) => {
220
const platform = findPlatformForTriplet(triplet);
221
222
+ assert(
223
+ platform.isSupportedByHost(),
224
+ `Triplet '${triplet}' cannot be built, as the '${platform.name}' platform is not supported on a '${process.platform}' host.`,
225
+ );
226
+
227
return {
228
triplet,
229
platform,
0 commit comments