markused,builtin,strconv,vlib: reduce generated C sizes for compilers != tcc, for short programs, by simplifying the generation of backtraces, and reducing string interpolations in panics (#23380)

This commit is contained in:
Delyan Angelov 2025-01-06 08:23:56 +02:00 committed by GitHub
parent 738f847f89
commit e983d75b64
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
31 changed files with 278 additions and 191 deletions

View file

@ -1124,6 +1124,6 @@ pub fn string_buffer_to_generic_number[T](result &T, data []u8) {
}
*result = T(enumeration)
} $else {
panic('unsupported type ${typeof[T]().name}')
panic('unsupported type ' + typeof[T]().name)
}
}