remove execinfo.h for now
parent
bfd5fb373c
commit
5720b01b7d
|
@ -4,7 +4,7 @@
|
|||
|
||||
module os
|
||||
|
||||
#include <execinfo.h>
|
||||
//#include <execinfo.h> // for backtrace_symbols_fd
|
||||
#include <signal.h>
|
||||
#include <unistd.h>
|
||||
#include <dirent.h>
|
||||
|
@ -62,10 +62,12 @@ fn ls(path string) []string {
|
|||
}
|
||||
|
||||
fn print_backtrace() {
|
||||
/*
|
||||
# void *buffer[100];
|
||||
nptrs := 0
|
||||
# nptrs = backtrace(buffer, 100);
|
||||
# printf("%d!!\n", nptrs);
|
||||
# backtrace_symbols_fd(buffer, nptrs, STDOUT_FILENO) ;
|
||||
*/
|
||||
}
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ pub:
|
|||
uni int // TODO it's safe to use "unix" now
|
||||
}
|
||||
|
||||
fn asfd() {
|
||||
fn remove_me_when_c_bug_is_fixed() { // TODO
|
||||
}
|
||||
|
||||
struct C.tm {
|
||||
|
|
Loading…
Reference in New Issue