Skip to content

assembler label '' cannot be undefined on Windows ARM #132287

Open
@NicholasLYang

Description

@NicholasLYang

Whenever I try compiling turborepo on Windows ARM, I get the following error when rustc tries to build tokio:

error: assembler label '' can not be undefined

I'd expect this code to compile, since it works fine on other platforms (macOS/Linux/Windows x86).

Meta

rustc --version --verbose:

rustc 1.82.0-nightly (0d634185d 2024-08-29)
binary: rustc
commit-hash: 0d634185dfddefe09047881175f35c65d68dcff1
commit-date: 2024-08-29
host: aarch64-pc-windows-msvc
release: 1.82.0-nightly
LLVM version: 19.1.0
Backtrace

I don't seem to get a backtrace on Windows, even when setting via set RUST_BACKTRACE=1

Here's all I get:

error: assembler label '' can not be undefined
   Compiling hyper v1.4.1
   Compiling console v0.15.7
   Compiling proc-macro-crate v3.1.0
   Compiling async-graphql-parser v7.0.7
   Compiling crossterm v0.27.0
   Compiling turborepo-vercel-api v0.1.0 (C:\Users\nicholas\turbo\crates\turborepo-vercel-api)
   Compiling turborepo-ci v0.1.0 (C:\Users\nicholas\turbo\crates\turborepo-ci)
   Compiling itertools v0.12.0
   Compiling stability v0.1.1
   Compiling lru v0.12.2
   Compiling memoffset v0.7.1
   Compiling encoding_rs v0.8.32
error: could not compile `tokio` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.A-LTOArea: Link-time optimization (LTO)A-codegenArea: Code generationC-bugCategory: This is a bug.E-needs-mcveCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleI-miscompileIssue: Correct Rust code lowers to incorrect machine codeO-AArch64Armv8-A or later processors in AArch64 modeO-windowsOperating system: WindowsT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions