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
returnErr(anyhow::anyhow!("Library not found at {}. Make sure your Cargo.toml file has a [lib] block with `crate-type = [\"staticlib\", \"cdylib\", \"lib\"]`", lib_path.display()));
229
230
}
230
231
231
-
// for some reason the app works on release, but `nm <path>` does not print the start_app symbol
232
-
if profile == Profile::Debug{
233
-
validate_lib(&lib_path)?;
234
-
}
232
+
validate_lib(&lib_path)?;
235
233
236
234
let project_dir = config.project_dir();
237
235
let externals_lib_dir = project_dir.join(format!("Externals/{arch}/{}", profile.as_str()));
let symbols = String::from_utf8_lossy(&output.stdout);
267
-
if !symbols.contains("start_app"){
268
-
anyhow::bail!(
269
-
"Library from {} does not include required runtime symbols. This means you are likely missing the tauri::mobile_entry_point macro usage, see the documentation for more information: https://v2.tauri.app/start/migrate/from-tauri-1",
"Library from {} does not include required runtime symbols. This means you are likely missing the tauri::mobile_entry_point macro usage, see the documentation for more information: https://v2.tauri.app/start/migrate/from-tauri-1",
0 commit comments