You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered a problem with the rust compiler. In the bin program made by rust, I exported a function in the main unit, but I couldn't find the exported function with a third-party tool. I also use several other languages to do the same thing, and I can find the relevant exported functions. The function is simple in the following format:
#[no_mangle]
pub extern "C" fn func1(data:String)->i32{}
My final question is, does our Rust compile exe files that cannot export related export functions? This is the only language I have found that exe files cannot export functions. Does trust add such functions
The text was updated successfully, but these errors were encountered:
"This is a tracking issue for the RFC "2841" (rust-lang/rfcs#2841).
The feature gate for the issue is #![feature(export_executable_symbols)]. " and "Add the ability to export symbols from executables, not just dylibs, via a new compiler flag: -C export-executable-symbols"" , But none of them worked
I encountered a problem with the rust compiler. In the bin program made by rust, I exported a function in the main unit, but I couldn't find the exported function with a third-party tool. I also use several other languages to do the same thing, and I can find the relevant exported functions. The function is simple in the following format:
#[no_mangle]
pub extern "C" fn func1(data:String)->i32{}
My final question is, does our Rust compile exe files that cannot export related export functions? This is the only language I have found that exe files cannot export functions. Does trust add such functions
The text was updated successfully, but these errors were encountered: