From 888368bb5e16c12abb110f9192da8f5b149e1159 Mon Sep 17 00:00:00 2001 From: nickysn Date: Sun, 24 Jan 2021 00:56:58 +0000 Subject: [PATCH] + added ifdefs to set the source info for WASI git-svn-id: branches/wasm@48360 - --- compiler/systems/i_wasi.pas | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/compiler/systems/i_wasi.pas b/compiler/systems/i_wasi.pas index 3d9257baf5..998b855059 100644 --- a/compiler/systems/i_wasi.pas +++ b/compiler/systems/i_wasi.pas @@ -114,4 +114,10 @@ unit i_wasi; implementation +initialization +{$ifdef CPUWASM32} + {$ifdef wasi} + set_source_info(system_wasi_info); + {$endif wasi} +{$endif CPUWASM32} end.