MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / also_with_wasm64

Function also_with_wasm64

test/decorators.py:437–451  ·  view source on GitHub ↗
(func)

Source from the content-addressed store, hash-verified

435
436
437def also_with_wasm64(func):
438 assert callable(func)
439
440 @wraps(func)
441 def metafunc(self, with_wasm64, *args, **kwargs):
442 if DEBUG:
443 print('parameterize:wasm64=%s' % with_wasm64)
444 if with_wasm64:
445 self.require_wasm64()
446 self.cflags += ['-m64']
447 return func(self, *args, **kwargs)
448
449 parameterize(metafunc, {'': (False,),
450 'wasm64': (True,)})
451 return metafunc
452
453
454def also_with_fetch_streaming(f):

Callers

nothing calls this directly

Calls 1

parameterizeFunction · 0.85

Tested by

no test coverage detected