Hm, how do I make [@rust](https://programming.dev/c/rust) compile some code as `crate-type = ["cdylib"]` on Windows in a way that doesn't rely on non-existent downstream .dll files?
Hm, how do I make @rust compile some code as crate-type = ["cdylib"]
on Windows in a way that doesn't rely on non-existent downstream .dll files?
Compiling the following bare minimum code makes the resultant .dll link to libm.dll, which is not a thing, Windows does not have a libm.dll
pub fn add(a: usize, b: usize) -\> usize { a + b }
No comments yet. You could be first!