def sync(f):
    assert callable(f)

    def decorated(self):
        if (self.get_setting('WASM') or self.is_wasm_backend()):
            self.emcc_args += ['-s', 'WASM_ASYNC_COMPILATION=0']
        f(self)
    return decorated
def sync(f):
    assert callable(f)

    def decorated(self):
        if (self.get_setting('WASM') or self.is_wasm_backend()):
            self.emcc_args += ['-s', 'WASM_ASYNC_COMPILATION=0']
        f(self)
    return decorated