Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: tinygo-org/tinygo
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: release
Choose a base ref
...
head repository: tinygo-org/tinygo
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: windows-386-msvcrt
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 11 commits
  • 27 files changed
  • 3 contributors

Commits on Mar 20, 2025

  1. Remove duplicated error handling

    gandarez authored and aykevl committed Mar 20, 2025
    Configuration menu
    Copy the full SHA
    5a34c64 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2025

  1. compileopts: enable support for GOARCH=wasm in tinygo test

    Support for GOARCH=wasm was only available for `tinygo build`, not for
    any of the other subcommands (`test`, `run`, etc). With this PR, these
    subcommands should work again for supported values of GOOS.
    
    This fixes the following error for example:
    
        $ make tinygo-test-wasip1
        GOOS=wasip1 GOARCH=wasm /home/ayke/bin/tinygo test cmp compress/lzw compress/zlib [...etc]
        cannot resolve packages: GOARCH=wasm but GOOS is unset. Please set GOOS to wasm, wasip1, or wasip2.
        make: *** [GNUmakefile:489: tinygo-test-wasip1] Error 1
    aykevl authored and deadprogram committed Mar 22, 2025
    Configuration menu
    Copy the full SHA
    48f145c View commit details
    Browse the repository at this point in the history
  2. windows: fix wrong register for first parameter

    I'm surprised this worked as long as it did, since it looks like the
    goroutine stack did not get scanned. Or maybe the RCX register contained
    the stack pointer by accident. In any case, it now uses the correct
    register (RCX instead of RDI on Windows) for passing the stack pointer
    as the first parameter.
    aykevl authored and deadprogram committed Mar 22, 2025
    Configuration menu
    Copy the full SHA
    fd3976b View commit details
    Browse the repository at this point in the history
  3. windows: add support for the Boehm-Demers-Weiser GC

    A few small changes were needed to make this work. In particular, I
    found a critical bug (see the previous commit) that needed to be fixed
    to make this work on Windows.
    aykevl authored and deadprogram committed Mar 22, 2025
    Configuration menu
    Copy the full SHA
    b9bf0aa View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2025

  1. arm64: remove unnecessary .section directive

    This directive caused the code to be put in a non-executable area on
    Windows which caused a segmentation fault. This patch fixes the issue by
    removing `.section` directives, fixing windows/arm64 support.
    aykevl authored and deadprogram committed Mar 23, 2025
    Configuration menu
    Copy the full SHA
    ee76822 View commit details
    Browse the repository at this point in the history
  2. cgo: *actually* fix build warnings on Windows ARM

    See: #4628
    
    This removes the comment, which actually fixes the issue. #4628 was
    incorrect.
    aykevl authored and deadprogram committed Mar 23, 2025
    Configuration menu
    Copy the full SHA
    429c015 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2025

  1. version: update to 0.38.0-dev

    Signed-off-by: deadprogram <ron@hybridgroup.com>
    deadprogram committed Mar 24, 2025
    Configuration menu
    Copy the full SHA
    c1c074f View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2025

  1. darwin: support Boehm GC (and use by default)

    This mostly required some updates to macos-minimal-sdk to add the needed
    header files and symbols.
    aykevl authored and deadprogram committed Mar 25, 2025
    Configuration menu
    Copy the full SHA
    95a7d06 View commit details
    Browse the repository at this point in the history
  2. Makefile: only read NodeJS version when it is needed

    Most make commands don't need to check for the NodeJS version, so only
    do it when needed.
    
    This avoids the following error on Windows for example when NodeJS is
    not installed:
    
        /usr/bin/sh: line 1: node: command not found
        which: no node in (/c/Users/Ayke/bin:/clangarm64/bin:/usr/local/bin:/usr/bin:/usr/bin:/mingw64/bin:/usr/bin:/c/Users/Ayke/bin:/c/Users/Ayke/.vscode-server/cli/servers/Stable-e54c774e0add60467559eb0d1e229c6452cf8447/server/bin/remote-cli:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/WINDOWS/System32/WindowsPowerShell/v1.0:/c/WINDOWS/System32/OpenSSH:/cmd:/c/Users/Ayke/scoop/apps/mingw-mstorsjo-llvm-ucrt/current/bin:/c/Users/Ayke/scoop/apps/python/current/Scripts:/c/Users/Ayke/scoop/apps/python/current:/c/Users/Ayke/go/bin:/c/Users/Ayke/scoop/shims:/c/Users/Ayke/AppData/Local/Microsoft/WindowsApps:/usr/bin/vendor_perl:/usr/bin/core_perl)
    
    Also, some users have been confused by the error message even though in
    most cases it is harmless and can be ignored.
    aykevl authored and deadprogram committed Mar 25, 2025
    Configuration menu
    Copy the full SHA
    fdf075a View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2025

  1. Configuration menu
    Copy the full SHA
    e95d56f View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2025

  1. WIP try to use MSVCRT.DLL instead of UCRT

    Very simple "hello world" style programs work.
    aykevl committed Apr 7, 2025
    Configuration menu
    Copy the full SHA
    bd7594a View commit details
    Browse the repository at this point in the history
Loading