windows-gnu: Failed to load codegen backend: LoadLibraryExw failed: The specified procedure could not be found. (os error 127)
Nessuno ha ancora preso questa issue.
- Lingua principale
- Rust
- Stelle
- 3.4k
- Fork
- 126
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Expected Behaviour
Build script using spirv-builder runs without errors
Example & Steps To Reproduce
- Copy
rust-toolchain.tomlto use rustc nightly-2025-06-23 - build-dependency
spirv-builder = { git = "https://github.com/Rust-GPU/rust-gpu" } cargo build
The build fails with the full error:
error: couldn't load codegen backend \\?\C:\Users\****\Downloads\fvm2d\target\debug\deps\rustc_codegen_spirv.dll: LoadLibraryExW failed: The specified procedure could not be found. (os error 127) (The specified procedure could not be found. (os error 127)) (retried 5 times)
rustc_codegen_spirv.dll does exist in that location, but the error suggests that some symbol is missing that is attempting to be loaded. I don't know how to get the name of the procedure it wants.
System Info
- Rust: rustc 1.89.0-nightly (be19eda0d 2025-06-22) (the date on this value always seems to be 1 day behind the version specified in
rust-toolchain.toml) - OS: Win11
- GPU: NVIDIA GeForce MX450
- SPIR-V: SPIRV-Tools v2025.2 unknown hash, 2025-05-06T12:14:19+00:00
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia riproducendo il fallimento con la versione nightly in rust-toolchain.toml, la dipendenza git spirv-builder e cargo build su Windows 11. Indaga sul motivo per cui rustc_codegen_spirv.dll non può essere caricato e verifica che lo stesso script di build venga completato senza l’errore LoadLibraryExW.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- rust
- Ambito
- build-system, compilers, operating-systems
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 35/100