Skip to content

Commit

Permalink
Disable source debugging by default (#804)
Browse files Browse the repository at this point in the history
For cmake based project, there are default values in .cmake,
but for other build system, may these symbols were not defined in their
build system and warnings (XXX is not defined) were generated while building.

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
  • Loading branch information
no1wudi committed Oct 26, 2021
1 parent 788e14e commit 51a00a4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions core/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,15 @@
#define WASM_ENABLE_THREAD_MGR 0
#endif

/* Source debugging */
#ifndef WASM_ENABLE_DEBUG_INTERP
#define WASM_ENABLE_DEBUG_INTERP 0
#endif

#ifndef WASM_ENABLE_DEBUG_AOT
#define WASM_ENABLE_DEBUG_AOT 0
#endif

/* WASM log system */
#ifndef WASM_ENABLE_LOG
#define WASM_ENABLE_LOG 1
Expand Down

0 comments on commit 51a00a4

Please sign in to comment.