Skip to main content

JS_SetStripInfo

Function JS_SetStripInfo 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn JS_SetStripInfo( rt: *mut JsRuntime, flags: c_int, )
Expand description

JS_SetStripInfo: record how much debug info to keep.

The engine never compiles debug info away, so the flag is stored and has no effect. A host that sets it still gets full stack traces, which is the safe direction (more information, not less).

ยงSafety

rt must be a live runtime.