undefined symbol tip (#7913)

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
This commit is contained in:
Anton-4 2025-06-30 20:57:32 +02:00 committed by GitHub
parent 7abd956ada
commit 8361b8d124
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1458,7 +1458,7 @@ fn surgery_elf_help(
}
} else {
internal_error!(
"Undefined Symbol in relocation, {:+x?}: {:+x?}\n\nTIP: try compiling with `--linker legacy`",
"Undefined Symbol in relocation, {:+x?}: {:+x?}\n\nTIPS:\n\t- try compiling with `--linker legacy`\n\t- If you're building a platform from source and you added functionality, you may have forgotten to rebuild the platform before running.",
rel,
app_obj.symbol_by_index(index)
);