1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

Revert "print_backtrace_skipping_top_frames: Implementation for MSVC "

This reverts commit d1e7a54f3a.
This commit is contained in:
Alexander Medvednikov
2019-11-10 20:01:19 +03:00
parent fdf6682254
commit ffa9646749
7 changed files with 46 additions and 226 deletions

View File

@ -19,7 +19,6 @@ CommonCHeaders = '
#include <sys/time.h>
#include <unistd.h> // sleep
#else
#pragma comment(lib, "Dbghelp.lib")
#if defined(__MSVCRT_VERSION__) && __MSVCRT_VERSION__ < __MSVCR90_DLL
#error Please upgrade your MinGW distribution to use msvcr90.dll or later.
#endif

View File

@ -3,7 +3,7 @@ module compiler
import os
#flag windows -l shell32
#flag windows -l dbghelp
// RegOpenKeyExA etc
#flag windows -l advapi32

View File

@ -1,11 +0,0 @@
/*
Test for backtrace capability
*/
fn a_method() {
print_backtrace()
}
fn test_backtrace() {
a_method()
//panic('hi')
}