Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions test/test_other.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'])

Expand Down
4 changes: 0 additions & 4 deletions tools/cmdline.py
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down
Loading