We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72f5e7f commit b149401Copy full SHA for b149401
compiler/generator/rust/rust_code_container.cpp
@@ -297,7 +297,7 @@ void RustCodeContainer::produceClass()
297
tab(n, *fOut);
298
*fOut << "mod ffi {";
299
tab(n + 1, *fOut);
300
- *fOut << "use std::os::raw::c_float;";
+ *fOut << "use core::ffi::c_float;";
301
302
*fOut << "// Conditionally compile the link attribute only on non-Windows platforms";
303
0 commit comments