mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Use backtrace on windows. Updated backtrace API
This commit is contained in:
committed by
Christoffer Lerno
parent
587d5578ab
commit
81c93e3488
@@ -5,11 +5,7 @@ import std::os;
|
||||
|
||||
fn void! test2()
|
||||
{
|
||||
BacktraceList list = linux::backtrace_load(mem::heap())!;
|
||||
foreach (Backtrace trace : list)
|
||||
{
|
||||
io::printfn("%s", trace);
|
||||
}
|
||||
builtin::print_backtrace("hello", 1);
|
||||
}
|
||||
|
||||
fn void test1()
|
||||
|
||||
Reference in New Issue
Block a user