Thank you, I have confirmed that the --cpu:arm option can be determined with "when defined(arm)". The difference in CPU generation cannot be detected at compile time because a cross-compiler is used, so it seems the only way to determine the difference is at runtime (to support multiple CPUs in a single binary).
- How to switch implementations with compiler flags. takekikuchi
- How to switch implementations with compiler flags. uzo2005
- How to switch implementations with compiler flags. uzo2005
- How to switch implementations with compiler flags... Isofruit
- How to switch implementations with compiler f... takekikuchi