mirror of
https://github.com/vlang/v.git
synced 2025-08-03 09:47:15 -04:00
21 lines
410 B
V
21 lines
410 B
V
module builtin
|
|
|
|
// These are just dummy implementations to appease linking on musl/alpine
|
|
|
|
@[export: 'backtrace_symbols']
|
|
@[weak]
|
|
fn vbacktrace_symbols(const_buffer &voidptr, size int) &&char {
|
|
return 0
|
|
}
|
|
|
|
@[export: 'backtrace']
|
|
@[weak]
|
|
fn vbacktrace(buffer &voidptr, size int) int {
|
|
return 0
|
|
}
|
|
|
|
@[export: 'backtrace_symbols_fd']
|
|
@[weak]
|
|
fn vbacktrace_symbols_fd(const_buffer &voidptr, size int, fd int) {
|
|
}
|