File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7649,9 +7649,6 @@ def test2():
7649
7649
})
7650
7650
def test_embind (self , args ):
7651
7651
self .maybe_closure ()
7652
- # This test explicitly creates std::string from unsigned char pointers
7653
- # which is deprecated in upstream LLVM.
7654
- self .emcc_args .append ('-Wno-deprecated-declarations' )
7655
7652
create_file ('test_embind.cpp' , r'''
7656
7653
#include <stdio.h>
7657
7654
#include <emscripten/val.h>
Original file line number Diff line number Diff line change @@ -2923,6 +2923,9 @@ def test_embind_closure_no_dynamic_execution(self):
2923
2923
})
2924
2924
def test_embind(self, *extra_args):
2925
2925
self.emcc_args += [
2926
+ # This test explicitly creates std::string from unsigned char pointers
2927
+ # which is deprecated in upstream LLVM.
2928
+ '-Wno-deprecated-declarations',
2926
2929
'-lembind',
2927
2930
'-sRETAIN_COMPILER_SETTINGS',
2928
2931
'-sEXPORTED_RUNTIME_METHODS=getCompilerSetting',
You can’t perform that action at this time.
0 commit comments