-
Notifications
You must be signed in to change notification settings - Fork 900
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chdir flag #4462
Chdir flag #4462
Commits on Aug 21, 2024
-
tinygo: detect GOOS=wasip1 for relative WASI paths via config instead…
… of target name (tinygo-org#4423)
Configuration menu - View commit details
-
Copy full SHA for 336b9b3 - Browse repository at this point
Copy the full SHA 336b9b3View commit details
Commits on Aug 22, 2024
-
mips: fix crash with GOMIPS=softfloat
`defer` and `GOMIPS=softfloat` together would result in a crash. This patch fixes this issue.
Configuration menu - View commit details
-
Copy full SHA for 83c98a2 - Browse repository at this point
Copy the full SHA 83c98a2View commit details -
mips: fix big-endian (GOARCH=mips) support
I made an awkward mistake, mixing up GOOS and GOARCH. So here is a fix, with an associated test.
Configuration menu - View commit details
-
Copy full SHA for 1ef1aa7 - Browse repository at this point
Copy the full SHA 1ef1aa7View commit details
Commits on Aug 26, 2024
-
fix: add missing Truncate() function stub to os/file for bare-metal s…
…ystems Signed-off-by: deadprogram <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d144b11 - Browse repository at this point
Copy the full SHA d144b11View commit details
Commits on Sep 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 753f4b3 - Browse repository at this point
Copy the full SHA 753f4b3View commit details -
darwin: replace custom syscall package with Go native syscall package
This required a few compiler and runtime tricks to work, but I ran a bunch of tests and it seems fine. (CI will of course do more exhaustive testing). The main benefit here is that we don't need to maintain the darwin version of the syscall package, and reduce extra risks for bugs (because we reuse the well-tested syscall package). For example, Go 1.23 needed a bunch of new constants in the syscall package. That would have been avoided if we had used the native syscall package on MacOS.
Configuration menu - View commit details
-
Copy full SHA for 105fe9b - Browse repository at this point
Copy the full SHA 105fe9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e39358d - Browse repository at this point
Copy the full SHA e39358dView commit details
Commits on Sep 5, 2024
-
mips: use MIPS32 (instead of MIPS32R2) as the instruction set
This should widen compatibility a bit, so that older CPUs can also execute programs built by TinyGo. The performance may be lower, if that's an issue we can look into implementing the proposal here: golang/go#60072 This still wouldn't make programs usable on MIPS II CPUs, I suppose we can lower compatiblity down to that CPU if needed. I tried setting the -cpu flag in the QEMU command line to be able to test this, but it looks like there are no QEMU CPU models that are mips32r1 and have a FPU. So it's difficult to test this.
Configuration menu - View commit details
-
Copy full SHA for 25abfff - Browse repository at this point
Copy the full SHA 25abfffView commit details -
interp: support big-endian targets
The interp package was assuming that all targets were little-endian. But that's not true: we now have a big-endian target (GOARCH=mips). This fixes the interp package to use the appropriate byte order for a given target.
Configuration menu - View commit details
-
Copy full SHA for 73f519b - Browse repository at this point
Copy the full SHA 73f519bView commit details -
reflect: support big-endian systems
The reflect package needs to know the endianness of the system in a few places. Before this patch, it assumed little-endian systems. But with GOARCH=mips we now have a big-endian system which also needs to be supported. So this patch fixes the reflect package to work on big-endian systems. Also, I've updated the tests for MIPS: instead of running the little-endian tests, I've changed it to run the big-endian tests instead. The two are very similar except for endianness so this should be fine. To be sure we won't accidentally break little-endian support, I've kept a single MIPS little-endian test (the CGo test, which doesn't yet work on big-endian systems anyway).
Configuration menu - View commit details
-
Copy full SHA for 4f1b698 - Browse repository at this point
Copy the full SHA 4f1b698View commit details -
compiler: move some code around to make the next bugfix easier
This just makes the next fix easier to read.
Configuration menu - View commit details
-
Copy full SHA for ee5bc65 - Browse repository at this point
Copy the full SHA ee5bc65View commit details -
compiler: fix passing weirdly-padded structs to new goroutines
The values were stored in the passed object as the values itself (not expanded like is common in the calling convention), and read back after assuming they were expanded. This often works for simple parameters (int, pointer, etc), but not for more complex parameters. Especially when there's padding. Found this while working on `//go:wasmexport`.
Configuration menu - View commit details
-
Copy full SHA for d4cb92f - Browse repository at this point
Copy the full SHA d4cb92fView commit details -
add board: RAKwireless RAK4631 (tinygo-org#4454)
targets: add rak4631
Configuration menu - View commit details
-
Copy full SHA for 1f3e000 - Browse repository at this point
Copy the full SHA 1f3e000View commit details
Commits on Sep 6, 2024
-
wasip2: do not export the _start function
It seems to have been replaced with the Component Model `run` function.
Configuration menu - View commit details
-
Copy full SHA for c931bc7 - Browse repository at this point
Copy the full SHA c931bc7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78ddc51 - Browse repository at this point
Copy the full SHA 78ddc51View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9dcb63c - Browse repository at this point
Copy the full SHA 9dcb63cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e13d4ba - Browse repository at this point
Copy the full SHA e13d4baView commit details
Commits on Sep 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2e47a9c - Browse repository at this point
Copy the full SHA 2e47a9cView commit details -
gitignore: ignore device files generated for Renesas
Signed-off-by: deadprogram <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c201faa - Browse repository at this point
Copy the full SHA c201faaView commit details -
submodules: remove separate renesas-svd repo in favor of more recent …
…changes. Signed-off-by: deadprogram <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b5626e7 - Browse repository at this point
Copy the full SHA b5626e7View commit details
Commits on Sep 10, 2024
-
Fix tinygo-org#4421: Add
-C DIR
flagSigned-off-by: Roger Standridge <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f9caa12 - Browse repository at this point
Copy the full SHA f9caa12View commit details -
Fix tinygo-org#4421
-C DIR
support go1.19Signed-off-by: Roger Standridge <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 628e107 - Browse repository at this point
Copy the full SHA 628e107View commit details
Commits on Sep 11, 2024
-
Fix tinygo-org#4421 add tests for 'build' and 'run' ('test' already c…
…hanges directory) Signed-off-by: Roger Standridge <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9c88472 - Browse repository at this point
Copy the full SHA 9c88472View commit details -
Configuration menu - View commit details
-
Copy full SHA for 21a6a92 - Browse repository at this point
Copy the full SHA 21a6a92View commit details