Displaying 1 result from an estimated 1 matches for "dcrzoq".
Did you mean:
creoq
2020 Nov 08
1
Obj doesn't link under MSVC
...s it triggers the error, for some it doesn't.
The bat that links into exe looks like:
```
@call set path=C:\Program Files (x86)\Microsoft Visual
Studio\2019\Enterprise\VC\Auxiliary\Build;%path%
call vcvarsall.bat x64
cl /EHsc /DEBUG /Z7 /LD s.obj code.cpp
```
and the IR: https://godbolt.org/z/dcrzoq
Researching a bit I could find an issue on Rust's Github that seems to
have been
solved by time, and the statement `default rel` for an assembler to be
inserted
at the beginning of the ASM file, which I'm not sure how would be related.
The only workaround I could find is to allocate the...