Windows ARM Support?
Is your feature request related to a problem? Please describe.
我正在编写可能会在 Windows ARM 平台上运行的 Rust & C++ 程序,输入 xmake f -h 命令发现 windows 只有 x86 和 x64 的架构支持,我看到 Rust 貌似已经支持了 https://doc.rust-lang.org/nightly/rustc/platform-support.html#tier-2-with-host-tools
Describe the solution you'd like
是否会支持/已经支持?
Describe alternatives you've considered
No response
Additional context

之前有人提过这个了 https://github.com/xmake-io/xmake/issues/2042
我也很想支持,但是我没 windows arm 环境,用 qemu 捣鼓又太折腾,而且我本机也没磁盘空间去安装其他系统了
谁有环境,可以直接拉代码帮忙加上支持后提个pr过来
linux arm呢,有考虑吗,大佬
linux arm呢,有考虑吗,大佬
原本就支持,还要考虑什么?
我是aarch64的板子,原来想通过下面的添加源方式安装,但是添加源了,没有搜到xmake。以为不支持。不过现在通过脚本安装上了

在x64平台下安装的Visual Studio自带了一个编译到ARM64的编译器,C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\bin\Hostx64\arm64\cl.exe
对于简单的程序,直接将cl.exe的路径换一下就可以正常编译,其他的都不需要动,有没有别的方法间接实现arm64支持?比如设置--sdk之类的(试过没成功)
理论上直接 xmake f -a arm64 就行了,但是我没arm64环境,暂时测不了,也许要做一些改动才能支持。你们有环境的 可以自己研究下 提个pr过来
只需要 xmake f -a arm64,不需要设置其他任何参数
只需要 xmake f -a arm64,不需要设置其他任何参数
抱歉,已经改正了。
因为看到看到输出
Visual Studio (arm64) no
以为是编译失败了折腾了半天
https://github.com/xmake-io/xmake/pull/2728
我支持了
xmake g -c
xmake f -a arm64 -c