We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm curious what defines the iOS constant (if it's actually defined).
In platform.nim I see no mention of it even though osMacosx and osAndroid are defined there:
Nim/compiler/platform.nim
Lines 19 to 25 in af0c497
Searching for iOS in the code shows that it's used in 2 places:
Nim/lib/pure/includes/osenv.nim
Line 61 in 72e15ff
Nim/lib/system/syslocks.nim
Lines 141 to 144 in 72e15ff
Are there other places than platform.nim that defines compile-time target specific constants?
The text was updated successfully, but these errors were encountered:
@yglukhov knows more...
Sorry, something went wrong.
Pinging @yglukhov once more. (I would like to close this)
I use --os:macosx -d:ios to compile to ios.
--os:macosx -d:ios
Well the question was answered.
yglukhov
No branches or pull requests
I'm curious what defines the iOS constant (if it's actually defined).
In platform.nim I see no mention of it even though osMacosx and osAndroid are defined there:
Nim/compiler/platform.nim
Lines 19 to 25 in af0c497
Searching for iOS in the code shows that it's used in 2 places:
Nim/lib/pure/includes/osenv.nim
Line 61 in 72e15ff
Nim/lib/system/syslocks.nim
Lines 141 to 144 in 72e15ff
Are there other places than platform.nim that defines compile-time target specific constants?
The text was updated successfully, but these errors were encountered: