From 63760d4cb8add80aa6803a169b3311d6b7007c6e Mon Sep 17 00:00:00 2001 From: Pabloader Date: Wed, 25 Jun 2025 13:39:22 +0000 Subject: [PATCH] Compile flags --- build/wasmPlugin.ts | 1 + compile_flags.txt | 2 ++ 2 files changed, 3 insertions(+) diff --git a/build/wasmPlugin.ts b/build/wasmPlugin.ts index 06a049b..51245c4 100644 --- a/build/wasmPlugin.ts +++ b/build/wasmPlugin.ts @@ -164,6 +164,7 @@ const wasmPlugin = ({ production }: WasmLoaderConfig = {}): BunPlugin => { '-Wpedantic', '-Werror', '-Wshadow', + '-Wconversion', ...features, '-I', include, ]; diff --git a/compile_flags.txt b/compile_flags.txt index cfc6ef8..f80d0d1 100644 --- a/compile_flags.txt +++ b/compile_flags.txt @@ -7,4 +7,6 @@ build/assets/include -Wall -Wextra -Wpedantic +-Wshadow +-Wconversion -Werror \ No newline at end of file