import separate_compiler
import android_platform
import compiler_ffi
+import pnacl_platform
# Create a tool context to handle options and paths
var toolcontext = new ToolContext
var platform = mainmodule.target_platform
if platform != null and not platform.supports_libunwind then
- toolcontext.opt_no_stacktrace.value = true
- toolcontext.opt_stacktrace.value = false
+ if toolcontext.opt_stacktrace.value == null then toolcontext.opt_stacktrace.value = "none" # default is none
end
if toolcontext.opt_erasure.value then