first automatic changes

This commit is contained in:
Folkert 2023-11-18 22:38:04 +01:00
parent 6ccee5360a
commit b3177a157c
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
4 changed files with 8 additions and 7 deletions

View file

@ -317,7 +317,7 @@ fn generate_wrapper<'a, B: Backend<'a>>(
let (proc_data, offset) = backend.build_wrapped_jmp();
let proc_offset = output.add_symbol_data(proc_id, text_section, proc_data, 16);
let name = wraps.as_str().as_bytes();
let name = wraps.as_bytes();
// If the symbol is an undefined zig builtin, we need to add it here.
let symbol = Symbol {
name: name.to_vec(),