@@ -7334,12 +7334,11 @@ def test_embind(self):
7334
7334
''' )
7335
7335
self .do_runf ('test_embind.cpp' , 'abs(-10): 10\n abs(-11): 11' , emcc_args = args )
7336
7336
7337
- @no_wasm64 ('embind does not yet support MEMORY64' )
7338
7337
def test_embind_2 (self ):
7339
7338
self .emcc_args += ['-lembind' , '--post-js' , 'post.js' ]
7340
7339
create_file ('post.js' , '''
7341
7340
function printLerp() {
7342
- out('lerp ' + Module.lerp(100, 200, 66) + '.');
7341
+ out('lerp ' + Module.lerp(100, 200, 66) + '.');
7343
7342
}
7344
7343
''' )
7345
7344
create_file ('test_embind_2.cpp' , r'''
@@ -7348,14 +7347,14 @@ def test_embind_2(self):
7348
7347
#include <emscripten/bind.h>
7349
7348
using namespace emscripten;
7350
7349
int lerp(int a, int b, int t) {
7351
- return (100 - t) * a + t * b;
7350
+ return (100 - t) * a + t * b;
7352
7351
}
7353
7352
EMSCRIPTEN_BINDINGS(my_module) {
7354
- function("lerp", &lerp);
7353
+ function("lerp", &lerp);
7355
7354
}
7356
7355
int main(int argc, char **argv) {
7357
- EM_ASM(printLerp());
7358
- return 0;
7356
+ EM_ASM(printLerp());
7357
+ return 0;
7359
7358
}
7360
7359
''' )
7361
7360
self .do_runf ('test_embind_2.cpp' , 'lerp 166' )
@@ -7388,7 +7387,6 @@ def test_embind_3(self):
7388
7387
''' )
7389
7388
self .do_runf ('test_embind_3.cpp' , 'UnboundTypeError: Cannot call compute due to unbound types: Pi' )
7390
7389
7391
- @no_wasm64 ('embind does not yet support MEMORY64' )
7392
7390
def test_embind_4 (self ):
7393
7391
self .emcc_args += ['-lembind' , '--post-js' , 'post.js' ]
7394
7392
create_file ('post.js' , '''
@@ -7440,7 +7438,6 @@ def test_embind_negative_constants(self):
7440
7438
self .do_run_in_out_file_test ('embind/test_negative_constants.cpp' )
7441
7439
7442
7440
@also_with_wasm_bigint
7443
- @no_wasm64 ('embind does not yet support MEMORY64' )
7444
7441
def test_embind_unsigned (self ):
7445
7442
self .emcc_args += ['-lembind' ]
7446
7443
self .do_run_in_out_file_test ('embind/test_unsigned.cpp' )
@@ -7474,7 +7471,6 @@ def test_embind_i64_binding(self):
7474
7471
self .node_args += ['--experimental-wasm-bigint' ]
7475
7472
self .do_run_in_out_file_test ('embind/test_i64_binding.cpp' , assert_identical = True )
7476
7473
7477
- @no_wasm64 ('embind does not yet support MEMORY64' )
7478
7474
def test_embind_no_rtti (self ):
7479
7475
create_file ('main.cpp' , r'''
7480
7476
#include <emscripten.h>
@@ -7508,7 +7504,6 @@ def test_embind_polymorphic_class_no_rtti(self):
7508
7504
self .emcc_args += ['-lembind' , '-fno-rtti' , '-DEMSCRIPTEN_HAS_UNBOUND_TYPE_NAMES=0' ]
7509
7505
self .do_core_test ('test_embind_polymorphic_class_no_rtti.cpp' )
7510
7506
7511
- @no_wasm64 ('embind does not yet support MEMORY64' )
7512
7507
def test_embind_no_rtti_followed_by_rtti (self ):
7513
7508
src = r'''
7514
7509
#include <emscripten.h>
0 commit comments