Skip to content

Commit

Permalink
Disallow EMULATED_FUNCTION_POINTERS with wasm backend (emscripten-cor…
Browse files Browse the repository at this point in the history
  • Loading branch information
sbc100 authored and belraquib committed Dec 23, 2020
1 parent d9e149b commit 631e387
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -1278,6 +1278,9 @@ def verify_settings():
if Settings.SIDE_MODULE or Settings.MAIN_MODULE:
exit_with_error('emcc: MAIN_MODULE and SIDE_MODULE are not yet supported by the LLVM wasm backend')

if Settings.EMULATED_FUNCTION_POINTERS:
exit_with_error('emcc: EMULATED_FUNCTION_POINTERS is not meaningful with the wasm backend')


Settings = SettingsManager()
verify_settings()
Expand Down

0 comments on commit 631e387

Please sign in to comment.