Open tgrushka opened 1 week ago
Hi! We use some special flags to force our own linker to get the incremental artifacts which let us extract out the asset manifest, so it's a known bug that custom linker setups are currently overriding our linker and we can't generate the manifest.
I think, since we migrated to requiring the results of asset!()
to actually be used in the final binary, we don't need to intercept the linker anymore, but eventually we do want to do more advanced stuff with the linker which will cause collisions.
All this to say, I don't have a great solution for custom linker setups right now other than disabling them until we start looking for them or getting off of them completely.
Problem
EDIT: Only when custom cargo config/flags/linker.
[dev] Build failed: Failed to parse asset manifest from "/var/folders/...
Steps To Reproduce
EDIT: 0. Have a custom rust config in ~/.cargo/config.toml, i.e.:
cargo install dioxus-cli --force --git 'https://github.com/DioxusLabs/dioxus#main'
dx new dx-6-test
→ fullstack → true → Vanillacd dx-6-test; dx serve
Expected behavior
Expect build to finish and serve. Behaves / serves properly when choosing web instead of fullstack. EDIT: I commented out my ~/.cargo/config.toml and now it builds fine! Would be nice to use faster linker but I see there are other issues about this.
Environment:
dioxus 0.6.0-alpha.3 (5d99889)
rustc 1.82.0 (f6e511eec 2024-10-15)
Trace output