mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Native Linux backtrace.
This commit is contained in:
committed by
Christoffer Lerno
parent
f39aa1a41e
commit
dc0aa35522
10
resources/linux_stack.c3
Normal file
10
resources/linux_stack.c3
Normal file
@@ -0,0 +1,10 @@
|
||||
module test;
|
||||
import std::io;
|
||||
import std::collections::map;
|
||||
import std::os;
|
||||
|
||||
fn void! main()
|
||||
{
|
||||
int x = 2;
|
||||
builtin::print_backtrace("Hello", 0);
|
||||
}
|
||||
Reference in New Issue
Block a user