You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @Xudong-Huang. Having an issue with 0.8.0 and newer on iOS targets. 0.7.5 builds fine, but 0.8.0 fails with inline assembly errors (see the log below).
Toolchains I checked on:
1.79.0-aarch64-apple-darwin
1.80.0-aarch64-apple-darwin
1.80.1-aarch64-apple-darwin
current nightly
Here's a simplest repro case: check-generator.zip
Run this with cargo build --target aarch64-apple-ios-sim or cargo build --target aarch64-apple-ios and it will fail.
Exact error log:
# cargo build --target aarch64-apple-ios-sim
Compiling generator v0.8.2
error: unknown directive
|
note: instantiated into assembly here
--> <inline asm>:3:1
|
3 | .type prefetch,@function
| ^
error: unknown directive
|
note: instantiated into assembly here
--> <inline asm>:8:1
|
8 | .size prefetch,.-prefetch
| ^
error: unknown directive
|
note: instantiated into assembly here
--> <inline asm>:12:1
|
12 | .type bootstrap_green_task,@function
| ^
error: unknown directive
|
note: instantiated into assembly here
--> <inline asm>:19:1
|
19 | .size bootstrap_green_task,.-bootstrap_green_task
| ^
error: unknown directive
|
note: instantiated into assembly here
--> <inline asm>:23:1
|
23 | .type swap_registers,@function
| ^
error: unknown directive
|
note: instantiated into assembly here
--> <inline asm>:57:1
|
57 | .size swap_registers,.-swap_registers
| ^
error: unexpected token in '.section' directive
|
note: instantiated into assembly here
--> <inline asm>:60:19
|
60 | .section .note.GNU-stack,"",%progbits
| ^
error: could not compile `generator` (lib) due to 7 previous errors
The text was updated successfully, but these errors were encountered:
Hi @Xudong-Huang. Having an issue with 0.8.0 and newer on iOS targets. 0.7.5 builds fine, but 0.8.0 fails with inline assembly errors (see the log below).
Toolchains I checked on:
Here's a simplest repro case: check-generator.zip
Run this with
cargo build --target aarch64-apple-ios-sim
orcargo build --target aarch64-apple-ios
and it will fail.Exact error log:
The text was updated successfully, but these errors were encountered: