diff --git a/test/test_other.py b/test/test_other.py index a6bb068d226a4..c3bea26287ab6 100644 --- a/test/test_other.py +++ b/test/test_other.py @@ -15079,11 +15079,6 @@ def test_embind_optional_val_no_bind(self): # was not included in the compilation unit using val. self.do_runf('embind/test_optional_val_main.cpp', 'done\n', cflags=['-lembind', test_file('embind/test_optional_val_lib.cpp')]) - def test_no_pthread(self): - self.do_runf_out_file('hello_world.c', cflags=['-pthread', '-no-pthread']) - self.assertExists('hello_world.js') - self.assertNotContained('new Worker(', read_file('hello_world.js')) - def test_sysroot_includes_first(self): self.do_other_test('test_stdint_limits.c', cflags=['-iwithsysroot/include']) diff --git a/tools/cmdline.py b/tools/cmdline.py index 1b6d02be73115..3e667de700735 100644 --- a/tools/cmdline.py +++ b/tools/cmdline.py @@ -541,10 +541,6 @@ def consume_arg_file(): settings.PTHREADS = 1 # Also set the legacy setting name, in case use JS code depends on it. settings.USE_PTHREADS = 1 - elif arg == '-no-pthread': - settings.PTHREADS = 0 - # Also set the legacy setting name, in case use JS code depends on it. - settings.USE_PTHREADS = 0 elif arg == '-pthreads': exit_with_error('unrecognized command-line option `-pthreads`; did you mean `-pthread`?') elif arg == '-fno-rtti':