Open otavio opened 4 months ago
Wrong build for ring:
% cargo-zigbuild b --target=arm-unknown-linux-gnueabi Compiling ring v0.17.8 The following warnings were emitted during compilation: warning: ring@0.17.8: crypto/curve25519/asm/x25519-asm-arm.S:36:1: error: invalid instruction, any one of the following would fix this: warning: ring@0.17.8: strd r4,[sp,#0] warning: ring@0.17.8: ^ warning: ring@0.17.8: crypto/curve25519/asm/x25519-asm-arm.S:36:14: note: too few operands for instruction warning: ring@0.17.8: strd r4,[sp,#0] warning: ring@0.17.8: ^ warning: ring@0.17.8: crypto/curve25519/asm/x25519-asm-arm.S:36:1: note: instruction requires: armv5te warning: ring@0.17.8: strd r4,[sp,#0] warning: ring@0.17.8: ^ warning: ring@0.17.8: crypto/curve25519/asm/x25519-asm-arm.S:36:1: note: instruction requires: thumb2 warning: ring@0.17.8: strd r4,[sp,#0] warning: ring@0.17.8: ^ ...
I tested using https://github.com/rust-cross/cargo-zigbuild/commit/841df510dff8c585690e85354998bbcb6695460f and this still happens.
Wrong build for ring: