3 ms·
"skip linking" -- what's this part mean? Does cranelift have an option to directly make locally-resolved executables without external references somehow?
by wyldfire 6y ago
"skip linking"
-- what's this part mean? Does cranelift have an option to directly make locally-resolved executables without external references somehow?
- Ericson2314 6y agoYes that is what I mean. I don't know for sure, but because of Cranelift's origins as a JIT for wasm, I suspect that it does.
- wyldfire 6y agoIt wouldn't surprise me if that is a wasm backend only option. It sounds very unconventional for other targets.
- Ericson2314 6y agoTo be clear, Cranelifts original purpose was JIT compiling WASM to machine code, not other things to WASM. Skipping linking isn't too radical: traditional compilers already effectively do it infra-procedurally for resolving labels to (relative) addresses. "wasm backend" sounds like you were thinking the latter?