xgopilot
e05c91530e
refactor: move hash/maphash linkname bindings to maphash package
...
Move runtime_rand and runtime_memhash linkname declarations from
runtime/internal/lib/runtime/runtime.go to runtime/internal/lib/hash/maphash/maphash.go
to avoid polluting the runtime package namespace.
Generated with [codeagent](https://github.com/qbox/codeagent )
Co-authored-by: luoliwoshang <luoliwoshang@users.noreply.github.com >
2025-10-14 08:01:10 +00:00
xgopilot
cf6cc937ef
fix: add runtime.rand and runtime.memhash for hash/maphash support
...
- Register hash/maphash in hasAltPkg map in runtime/build.go
- Add rand() function that bridges to fastrand64() in runtime overlay
- Add memhash() function that bridges to internal memhash() in runtime overlay
- Fixes issue where hash/maphash package failed with undefined symbols
Fixes #1338
Generated with [codeagent](https://github.com/qbox/codeagent )
Co-authored-by: luoliwoshang <luoliwoshang@users.noreply.github.com >
Co-authored-by: xgopilot <noreply@goplus.org >
2025-10-14 07:04:42 +00:00
xushiwei
0c63138ccd
Merge pull request #1328 from visualfc/reflect
...
runtime/internal/lib/reflect: fix Field closure kind to func
2025-09-26 16:25:08 +08:00
visualfc
ccaf59ec62
runtime/internal/lib/reflect: fix Field closure kind to func
2025-09-26 10:27:56 +08:00
visualfc
62d0ee39de
runtime: math/big use math_big_pure_go
2025-09-24 10:32:57 +08:00
Haolan
d9a20e8000
fix: stdio and typo
2025-09-08 14:13:25 +08:00
Haolan
7ca8abc788
fix: println
2025-09-05 19:00:53 +08:00
Haolan
e444c4b6ac
fix: typo
2025-09-05 16:55:38 +08:00
Haolan
0c418073b3
revert unix
2025-09-05 16:29:58 +08:00
Haolan
2d1120bf69
fix: symbol not found when building in baremental environment
2025-09-05 16:27:38 +08:00
visualfc
69fe6d6377
runtime/internal/lib/os: fix readdir for darwin-amd64
2025-08-26 22:23:30 +08:00
visualfc
56733e1dbd
runtime/internal/lib/internal/cpu: use __cpuid_count
2025-08-20 17:09:02 +08:00
xushiwei
1f94cfbe57
Merge pull request #1173 from luoliwoshang/os/direntNamePtr
...
os:direntNamePtr for array
2025-08-07 16:59:56 +08:00
visualfc
e77c3a040d
runtime: support syscall/js
2025-07-07 10:31:22 +08:00
luoliwoshang
417a5692e3
os:direntNamePtr for array
2025-06-26 11:44:40 +08:00
visualfc
4726e824a0
build: link globals importpath.name=value
2025-06-17 11:11:06 +08:00
visualfc
20a7d0f120
runtime/internal/lib/reflect: fix funcOf for runtime
2025-06-12 16:12:34 +08:00
visualfc
84729e21b8
reflect: makeFunc
2025-06-12 15:50:56 +08:00
xushiwei
fc86634e29
Merge pull request #1140 from luoliwoshang/internal/dir
...
runtime:forkAndExecInChild chdir
2025-06-06 09:12:05 +08:00
luoliwoshang
701568e011
internal:forkAndExecInChild chdir
2025-06-05 18:54:25 +08:00
visualfc
dade77d719
syscall: Stat_t for js/wasip1
2025-06-05 14:53:28 +08:00
Li Jie
bb43622fe7
runtime: wasm compatible with js build tag
2025-05-17 10:48:26 +08:00
xushiwei
9203c366e7
Merge pull request #1121 from visualfc/closure
...
fix reflect.pointer for closure; fix runtime unsafe.pointer ptrBytes
2025-05-17 01:19:40 +08:00
visualfc
c8fb7eafa0
runtime/internal/clite/os: fix stat for macOS
2025-05-16 20:36:43 +08:00
visualfc
cfc8687851
lib/reflect: fix closure pointer
2025-05-16 12:00:59 +08:00
xushiwei
9f26d12a3e
_cmptest: mathbigdemo
2025-04-28 01:03:13 +08:00
xushiwei
d9d813db56
go/parser demo
2025-04-28 00:35:45 +08:00
Li Jie
28d944c6af
remove unused wasm_import
2025-04-17 22:59:34 +08:00
Li Jie
19b98393a6
TODO: defer workaround, should remove after fix
2025-04-17 10:06:59 +08:00
Li Jie
a56129d675
blank syscall.SetNonblock on wasm
2025-04-17 09:58:52 +08:00
Li Jie
be4737461a
make runtime compatible with wasm
2025-04-11 16:28:44 +08:00
luoliwoshang
433df05858
runtime:rm log of StartProcess
2025-02-27 14:18:44 +08:00
Li Jie
f4da8e8876
runtime: disable godebug unimplemented warnings
2025-02-19 11:35:23 +08:00
Li Jie
2be558d554
runtime: reflect.Value.Equal
2025-02-19 11:35:22 +08:00
xushiwei
60224dd77d
Merge pull request #1003 from cpunion/fix-sleep
...
runtime: fix time.Sleep
2025-02-17 06:15:08 +08:00
Li Jie
22f4924d8e
runtime: safe mutex initialization
2025-02-16 20:52:22 +08:00
Li Jie
d91bb33178
runtime: fix time.Sleep
2025-02-16 19:25:59 +08:00
visualfc
6d7e984238
runtime: support Goexit
2025-02-16 08:24:33 +08:00
visualfc
1b3464b610
runtime: config hasAltPkg and ignoreName
2025-02-15 13:22:28 +08:00
Li Jie
8116d34a60
runtime: runtime.Callers, runtime.CallersFrames
2025-02-15 11:18:03 +08:00
Li Jie
4e34ce7470
runtime: fix incorrect function signature
2025-02-15 11:18:03 +08:00
Li Jie
5329f28580
runtime: testing runtime
2025-02-14 19:02:32 +08:00
Li Jie
b07116f302
build: patch packages supports cgo
2025-02-13 15:47:15 +08:00
Li Jie
623b5a511a
cl: process llgo:skip on const, type declaration, deprecate llgo:skip on import
2025-02-13 15:47:15 +08:00
Li Jie
946f304bb2
compiler: add go test command
2025-02-13 15:47:13 +08:00
visualfc
368c7d6cda
runtime/internal/lib/reflect: fix TypeOf check closure
2025-02-13 10:28:36 +08:00
visualfc
09c8567e39
runtime/internal/lib/reflectlite: implement func
2025-02-07 12:04:54 +08:00
visualfc
114c6bd6fc
internal/lib/reflect: fix call method
2025-02-05 15:20:20 +08:00
visualfc
d81c5e750d
internal/runtime: impl ifaceE2I
2025-02-05 15:20:20 +08:00
visualfc
281d29a100
internal/lib/reflect: DeepEqual
2025-02-05 15:20:20 +08:00