I also had to add support for legacy stdio definitions:
build.rs:
Code: Select all
fn main() {
println!("cargo:rustc-link-lib=dylib=legacy_stdio_definitions");
}
Code: Select all
fn main() {
println!("cargo:rustc-link-lib=dylib=legacy_stdio_definitions");
}