Skip to main content

link

Function link 

Source
pub fn link(main: &str, imports: &[Imported]) -> String
Expand description

Places the caller’s functions and imported functions in one module.

main holds the caller’s functions (not wrapped in a module), one of which should be the public @main entry point.