xushiwei
c863daf873
Merge pull request #1147 from luoliwoshang/c++
...
cl:compile with clang++
2025-06-12 12:54:13 +08:00
luoliwoshang
93197e7621
internal/build:compile with c mode,when c file
2025-06-12 11:55:47 +08:00
luoliwoshang
4f5c95045d
chore:keep origin c format
2025-06-11 20:30:44 +08:00
luoliwoshang
f36098d704
internal:link by LLGoFile to find libunwind
2025-06-11 19:46:49 +08:00
luoliwoshang
a5fd7f2eba
internal/cl:include llvm-config --cflags to find libunwind.h
2025-06-11 19:34:59 +08:00
luoliwoshang
f2f93c7f5f
cl:compile with clang++
2025-06-11 17:01:12 +08:00
visualfc
6fbc5c6fd0
GOOS=js set -sENVIRONMENT=web,worker
2025-06-09 13:34:13 +08:00
luoliwoshang
780c927ea6
chore:test exit code.
2025-05-22 09:53:34 +08:00
luoliwoshang
0463230533
build:exit when test fail
2025-05-21 16:21:06 +08:00
Li Jie
fd1def7885
build js/wasm target with emscripten
2025-05-17 10:48:27 +08:00
xushiwei
1693942cee
rm xtool/{cppkg,cpgithubpkg}
2025-05-12 03:50:07 +08:00
xushiwei
3f41c313ad
github api: release/asset id => int64
2025-05-11 20:55:59 +08:00
xushiwei
decb9d7f11
github api: EnumTags
2025-05-10 11:27:50 +08:00
xushiwei
604ce47d5e
github api: release, tag, commit
2025-05-03 22:50:04 +08:00
Li Jie
489a0069aa
extract common cmd flags
2025-04-18 13:12:05 +08:00
Li Jie
29ec4a7a0e
allow config LLGO_WASM_RUNTIME with args
2025-04-17 09:58:52 +08:00
Li Jie
8b26c48d9b
execute clang -v in verbose mode
2025-04-17 09:58:52 +08:00
Li Jie
ddd0535d30
split llfiles and ldflags and extract compileAndLinkLLFiles to prepare multi-phase build
2025-04-17 09:58:52 +08:00
Li Jie
3110382d88
fix abi methods crash on wasm
2025-04-11 17:16:02 +08:00
Li Jie
9ee55896e3
update link args for wasm target
2025-04-11 16:28:48 +08:00
Li Jie
ad6f41f312
add LLGO_STDIO_NOBUF to toggle stdout/stderr buffer
2025-04-11 16:28:48 +08:00
Li Jie
0ef683bba9
add LLGO_WASI_THREADS to toggle wasi threads support
2025-04-11 16:28:47 +08:00
Li Jie
be4737461a
make runtime compatible with wasm
2025-04-11 16:28:44 +08:00
Li Jie
d1dce65313
update link flags
2025-04-09 14:57:33 +08:00
Li Jie
641f9bbf7c
select WASM runtime by LLGO_WASM_RUNTIME
2025-04-09 14:57:32 +08:00
Li Jie
f35063ee6e
build: download and compile with wasi-sdk
2025-04-08 11:12:57 +08:00
Li Jie
e6c7627ee8
cross compilation
2025-04-08 10:46:14 +08:00
Li Jie
c8d791f206
fix llgo test unit test
2025-04-03 16:32:46 +08:00
Li Jie
ed366568b4
move out c/cpp/py
2025-04-03 16:26:11 +08:00
Li Jie
1172e5bdce
build: separate compiler and libs
2025-01-08 14:59:01 +08:00
Li Jie
e3a2d43ffa
runtime: add missing SliceClear
2025-01-08 14:58:59 +08:00
Li Jie
b3f4716616
runtime: patch internal/filepathlite
2025-01-08 14:58:59 +08:00
Li Jie
03b469212e
feat: upgrade to x/tools 0.28
2025-01-08 14:58:59 +08:00
xushiwei
9e9e8e82b2
Merge pull request #936 from cpunion/optional-llgo-root
...
build: make llgo root usage optional for runtime loading
2025-01-07 19:47:40 +08:00
Li Jie
7093ced2d8
build: make llgo root usage optional for runtime loading
...
When github.com/goplus/llgo is imported in go.mod, use the user-specified
version instead of LLGoROOT. This allows users to upgrade llgo via go.mod
while maintaining backward compatibility for cases without explicit imports.
Note: This is a temporary solution. The runtime's dependency on
github.com/goplus/llgo/c/* needs to be addressed in future improvements.
2025-01-06 16:36:16 +08:00
Li Jie
179f4dfe22
build: ParseArgs return new slices
2025-01-06 10:10:11 +08:00
Li Jie
290f99b4d1
env: allow compiling code outside llgo directory
2025-01-04 23:40:13 +08:00
Li Jie
65f855b251
runtime: show stacktrace when panic
2025-01-02 23:27:41 +08:00
xushiwei
97a2824473
Merge pull request #915 from visualfc/runtime.hash
...
[WIP] internal/runtime: type hash
2024-12-26 08:30:34 +08:00
visualfc
a6a3c09c05
ssa: closure use specific struct field name { $f ftype, $data unsafe.pointer }
2024-12-22 12:44:33 +08:00
visualfc
620cfeabe0
internal/runtime: type hash
2024-12-21 20:07:28 +08:00
visualfc
1d3c98372a
internal/runtime: cache rtypeList
2024-12-20 20:45:46 +08:00
visualfc
c1588d70cd
internal/runtime: structStr
2024-12-20 16:09:39 +08:00
visualfc
ef28abe896
internal/runtime: funcStr, interfaceStr, array str
2024-12-20 12:33:34 +08:00
visualfc
d251232f8a
internal/runtime: named(ptr) type preset for method type
2024-12-20 11:37:30 +08:00
visualfc
ce169163b9
internal/runtime: NewNamedInterface check exist
2024-12-17 21:36:51 +08:00
visualfc
e55a5d7486
internal/runtime: NewNamedInterface, InitNamedInterface
2024-12-16 12:07:13 +08:00
xushiwei
a05bda9fc3
Merge pull request #762 from spongehah/golib/time
...
lib/time: patch div and Time.Round
2024-12-10 18:51:45 +08:00
tsingbx
af2bcd389e
fix link error
2024-12-08 10:18:47 +08:00
visualfc
0b3ce5f65a
build: env LLGO_CHECK=1 for llc check module
2024-12-05 11:07:21 +08:00