-
Couldn't load subscription status.
- Fork 4
Add x86_64 and universal simulator slices #288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 7 commits
1af77c0
3e49fe8
e23bef1
2286c36
43ce065
c490dd5
4e5a9af
33b8104
bab154e
ce35dd9
8de6f11
fb45402
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| --- | ||
| "cmake-rn": patch | ||
| "react-native-node-api": patch | ||
| --- | ||
|
|
||
| Add x86_64 and universal simulator triplets |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -33,6 +33,7 @@ export type Platform< | |||||
| Triplets extends string[] = string[], | ||||||
| Opts extends cli.OptionValues = Record<string, unknown>, | ||||||
| Command = ExtendedCommand<Opts>, | ||||||
| Triplet extends string = Triplets[number], | ||||||
| > = { | ||||||
| /** | ||||||
| * Used to identify the platform in the CLI. | ||||||
|
|
@@ -47,9 +48,12 @@ export type Platform< | |||||
| */ | ||||||
| triplets: Readonly<Triplets>; | ||||||
| /** | ||||||
| * Get the limited subset of triplets that should be built by default for this platform, to support a development workflow. | ||||||
| * Get the limited subset of triplets that should be built by default for this platform. | ||||||
| * | ||||||
| */ | ||||||
| defaultTriplets(): Triplets[number][] | Promise<Triplets[number][]>; | ||||||
| defaultTriplets( | ||||||
| purpose: "development" | "release", | ||||||
|
||||||
| ): Readonly<Triplets> | Promise<Readonly<Triplets>>; | ||||||
|
||||||
| ): Readonly<Triplets> | Promise<Readonly<Triplets>>; | |
| ): Triplet[] | Promise<Triplet[]>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] For development mode, consider returning universal simulator slices (arm64;x86_64) instead of architecture-specific ones when possible. This would provide better compatibility across different simulators without requiring architecture-specific builds, aligning with the PR's goal of prioritizing universal slices.