Support more features for rt-thread (#3661)
1, enable thread mgr 2, enable libc wasi 3, enable libc wasi threads 4, specify a function name of the module to run rather main
This commit is contained in:
committed by
GitHub
parent
4dfdbbb5a5
commit
6e727dc18d
20
core/shared/platform/common/libc-util/SConscript
Normal file
20
core/shared/platform/common/libc-util/SConscript
Normal file
@ -0,0 +1,20 @@
|
||||
#
|
||||
# Copyright 2024 Sony Semiconductor Solutions Corporation.
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
||||
#
|
||||
|
||||
from building import *
|
||||
import re
|
||||
|
||||
Import('rtconfig')
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
src = Split('''
|
||||
libc_errno.c
|
||||
''')
|
||||
CPPPATH = [cwd]
|
||||
|
||||
group = DefineGroup('iwasm_libc_util', src, depend = [''], CPPPATH = CPPPATH)
|
||||
|
||||
Return('group')
|
||||
Reference in New Issue
Block a user