
The implementation has been mostly copied from the Go reference
implementation with some small changes to fit TinyGo.
Source: 77a11c05d6/src/reflect/deepequal.go
In addition, this commit also contains the following:
- A set of tests copied from the Go reflect package.
- An increased stack size for the riscv-qemu and hifive1-qemu targets
(because they otherwise fail to run the tests). Because these
targets are only used for testing, this seems fine to me.
8 строки
279 Б
JSON
8 строки
279 Б
JSON
{
|
|
"inherits": ["riscv32"],
|
|
"features": "+a,+c,+m,-relax,-save-restore",
|
|
"build-tags": ["virt", "qemu"],
|
|
"default-stack-size": 4096,
|
|
"linkerscript": "targets/riscv-qemu.ld",
|
|
"emulator": ["qemu-system-riscv32", "-machine", "virt", "-nographic", "-bios", "none", "-kernel"]
|
|
}
|