fn write_compiled_module( module: CompiledModule, file_content: &str, targets: &[Emit], output_dir: &str, overwrite: bool, ) -> Result<(), String>