Hi! What is the best practice for determine at IR ...
# compiler
p
Hi! What is the best practice for determine at IR backend stage (IrGenerationExtension) for which platform code is generated? I need to make different logic for JS, WASM and JVM target platforms.
d
There is a
IrPluginContext.platform
p
Thanks, Dmitriy! It is nullable. In what case it can be null?
d
In some cases in K1 In K2 it's always not-nullable
🙏 1