Skip to content

Commit 3e84af2

Browse files
committed
all: update for release 0.32
Signed-off-by: deadprogram <[email protected]>
1 parent 8ab17ab commit 3e84af2

File tree

7 files changed

+27
-27
lines changed

7 files changed

+27
-27
lines changed

content/docs/guides/build/bring-your-own-llvm.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Below is an example of running `tinygo version` and example output to check that
7979
TinyGo was installed correctly (copy only what's in front of the `$` sign to your terminal!):
8080
```shell
8181
$ tinygo version
82-
tinygo version 0.31.2-dev-d4189fec linux/amd64 (using go version go1.22 and LLVM version 17.0.1)
82+
tinygo version 0.32.0-dev-d4189fec linux/amd64 (using go version go1.22 and LLVM version 18.1.2)
8383
```
8484

8585
If not see the [troubleshooting](#troubleshooting) section.

content/docs/guides/build/manual-llvm.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ This results in a `tinygo` binary in the `build` directory:
8686

8787
```shell
8888
$ ./build/tinygo version
89-
tinygo version 0.31.2-dev-d4189fec linux/amd64 (using go version go1.22 and LLVM version 17.0.1)
89+
tinygo version 0.32.0-dev-d4189fec linux/amd64 (using go version go1.22 and LLVM version 18.1.2)
9090
```
9191

9292
You have successfully built TinyGo from source. Congratulations! What's left now is to complete the [additional requirements](../additional-requirements)

content/docs/guides/webassembly/wasm.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@ Note the `--no-debug` flag, which reduces the size of the final binary by removi
6262
debug symbols from the output. Also note that you must change the path to your Wasm file from `/go/src/github.com/myuser/myrepo/wasm-main.go` to whatever the actual path to your file is:
6363

6464
```
65-
docker run -v $GOPATH:/go -e "GOPATH=/go" tinygo/tinygo:0.31.2 tinygo build -o /go/src/github.com/myuser/myrepo/wasm.wasm -target wasm --no-debug /go/src/github.com/myuser/myrepo/wasm-main.go
65+
docker run -v $GOPATH:/go -e "GOPATH=/go" tinygo/tinygo:0.32.0 tinygo build -o /go/src/github.com/myuser/myrepo/wasm.wasm -target wasm --no-debug /go/src/github.com/myuser/myrepo/wasm-main.go
6666
```
6767

6868
Make sure you copy `wasm_exec.js` to your runtime environment:
6969

7070
```
71-
docker run -v $GOPATH:/go -e "GOPATH=/go" tinygo/tinygo:0.31.2 /bin/bash -c "cp /usr/local/tinygo/targets/wasm_exec.js /go/src/github.com/myuser/myrepo/
71+
docker run -v $GOPATH:/go -e "GOPATH=/go" tinygo/tinygo:0.32.0 /bin/bash -c "cp /usr/local/tinygo/targets/wasm_exec.js /go/src/github.com/myuser/myrepo/
7272
```
7373

7474
More complete examples are provided in the [wasm examples](https://github.com/tinygo-org/tinygo/tree/release/src/examples/wasm).

content/getting-started/install/linux.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -25,20 +25,20 @@ You can also install the development build of TinyGo if you want to test the lat
2525

2626
### Ubuntu/Debian
2727

28-
You must have Go already installed on your machine in order to install TinyGo. We recommend Go v1.19 or above.
28+
You must have Go already installed on your machine in order to install TinyGo. We recommend Go v1.20 or above.
2929

3030
If you are using Ubuntu or another Debian based Linux on an Intel processor, download the DEB file from Github and install it using the following commands:
3131

3232
```shell
33-
wget https://github.com/tinygo-org/tinygo/releases/download/v0.31.2/tinygo_0.31.2_amd64.deb
34-
sudo dpkg -i tinygo_0.31.2_amd64.deb
33+
wget https://github.com/tinygo-org/tinygo/releases/download/v0.32.0/tinygo_0.32.0_amd64.deb
34+
sudo dpkg -i tinygo_0.32.0_amd64.deb
3535
```
3636

3737
If you are on a Raspberry Pi or other ARM-based Linux computer, you should use this command instead:
3838

3939
```shell
40-
wget https://github.com/tinygo-org/tinygo/releases/download/v0.31.2/tinygo_0.31.2_armhf.deb
41-
sudo dpkg -i tinygo_0.31.2_armhf.deb
40+
wget https://github.com/tinygo-org/tinygo/releases/download/v0.32.0/tinygo_0.32.0_armhf.deb
41+
sudo dpkg -i tinygo_0.32.0_armhf.deb
4242
```
4343

4444
You will need to ensure that the path to the `tinygo` executable file is in your `PATH` variable.
@@ -51,7 +51,7 @@ You can test that the installation is working properly by running this code whic
5151

5252
```shell
5353
$ tinygo version
54-
tinygo version 0.31.2 linux/amd64 (using go version go1.22 and LLVM version 17.0.1)
54+
tinygo version 0.32.0 linux/amd64 (using go version go1.22 and LLVM version 18.1.2)
5555
```
5656

5757
If you are on a 64 bit ARM OS, and running tinygo fails with "no such file or directory", you may need to install the 32 bit C++ runtime library, e.g.:

content/getting-started/install/macos.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description: >
99

1010
This page has information on how to install and use TinyGo on macOS. If you wish to build TinyGo from source, for example if you intend to contribute to the project, please take a look [here](../../../docs/guides/build).
1111

12-
You must have Go v1.19+ already installed on your machine in order to install TinyGo.
12+
You must have Go v1.20+ already installed on your machine in order to install TinyGo.
1313

1414
You can use Homebrew to install TinyGo using the following commands:
1515

@@ -22,18 +22,18 @@ brew install tinygo
2222

2323
#### Mac M1/M2
2424

25-
Download [this](https://github.com/tinygo-org/tinygo/releases/download/v0.31.2/tinygo0.31.2.darwin-arm64.tar.gz) file. Then, run the following commands:
25+
Download [this](https://github.com/tinygo-org/tinygo/releases/download/v0.32.0/tinygo0.32.0.darwin-arm64.tar.gz) file. Then, run the following commands:
2626

2727
```shell
28-
tar xvzf tinygo0.31.2.darwin-arm64.tar.gz
28+
tar xvzf tinygo0.32.0.darwin-arm64.tar.gz
2929
export PATH=<extract location>/tinygo/bin:$PATH
3030
```
3131

3232
You can test that the installation is working properly by running this code which should display the version number:
3333

3434
```shell
3535
$ tinygo version
36-
tinygo version 0.31.2 darwin/arm64 (using go version go1.22 and LLVM version 17.0.1)
36+
tinygo version 0.32.0 darwin/arm64 (using go version go1.22 and LLVM version 18.1.2)
3737
```
3838

3939
If you are only interested in compiling TinyGo code for WebAssembly then you are done with the installation.
@@ -42,18 +42,18 @@ Otherwise, please continue with the installation of the additional requirements
4242

4343
#### Mac Intel
4444

45-
Download [this](https://github.com/tinygo-org/tinygo/releases/download/v0.31.2/tinygo0.31.2.darwin-amd64.tar.gz) file. Then, run the following commands:
45+
Download [this](https://github.com/tinygo-org/tinygo/releases/download/v0.32.0/tinygo0.32.0.darwin-amd64.tar.gz) file. Then, run the following commands:
4646

4747
```shell
48-
tar xvzf tinygo0.31.2.darwin-amd64.tar.gz
48+
tar xvzf tinygo0.32.0.darwin-amd64.tar.gz
4949
export PATH=<extract location>/tinygo/bin:$PATH
5050
```
5151

5252
You can test that the installation is working properly by running this code which should display the version number:
5353

5454
```shell
5555
$ tinygo version
56-
tinygo version 0.31.2 darwin/amd64 (using go version go1.22 and LLVM version 17.0.1)
56+
tinygo version 0.32.0 darwin/amd64 (using go version go1.22 and LLVM version 18.1.2)
5757
```
5858

5959
If you are only interested in compiling TinyGo code for WebAssembly then you are done with the installation.

content/getting-started/install/using-docker.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ You can use our Docker image to be able to run the TinyGo compiler on your compu
99

1010
## Installing
1111

12-
docker pull tinygo/tinygo:0.31.2
12+
docker pull tinygo/tinygo:0.32.0
1313

1414
## Using
1515

@@ -18,24 +18,24 @@ For your own code, you will probably want to use absolute paths.
1818

1919
A docker container exists for easy access to the TinyGo CLI. For example, to compile `wasm.wasm` for the WebAssembly export example:
2020

21-
docker run --rm -v $(pwd):/src tinygo/tinygo:0.31.2 tinygo build -o wasm.wasm -target=wasm examples/wasm/export
21+
docker run --rm -v $(pwd):/src tinygo/tinygo:0.32.0 tinygo build -o wasm.wasm -target=wasm examples/wasm/export
2222

2323
See the [WebAssembly page](../../../docs/guides/webassembly) for more information on executing the compiled
2424
WebAssembly.
2525

2626
To compile `blinky1.hex` targeting an ARM microcontroller, such as the PCA10040:
2727

28-
docker run --rm -v $(pwd):/src tinygo/tinygo:0.31.2 tinygo build -o /src/blinky1.hex -size=short -target=pca10040 examples/blinky1
28+
docker run --rm -v $(pwd):/src tinygo/tinygo:0.32.0 tinygo build -o /src/blinky1.hex -size=short -target=pca10040 examples/blinky1
2929

3030
To compile `blinky1.hex` targeting an AVR microcontroller such as the Arduino:
3131

32-
docker run --rm -v $(pwd):/src tinygo/tinygo:0.31.2 tinygo build -o /src/blinky1.hex -size=short -target=arduino examples/blinky1
32+
docker run --rm -v $(pwd):/src tinygo/tinygo:0.32.0 tinygo build -o /src/blinky1.hex -size=short -target=arduino examples/blinky1
3333

3434
For projects that have remote dependencies outside of the standard library and
3535
go code within your own project, you will need to map your entire `$GOPATH`
3636
into the docker image for those dependencies to be found:
3737

38-
docker run -v $GOPATH:/go -e "GOPATH=/go" tinygo/tinygo:0.31.2 tinygo build -o /go/src/github.com/myuser/myrepo/wasm.wasm -target wasm --no-debug /go/src/github.com/myuser/myrepo/wasm-main.go
38+
docker run -v $GOPATH:/go -e "GOPATH=/go" tinygo/tinygo:0.32.0 tinygo build -o /go/src/github.com/myuser/myrepo/wasm.wasm -target wasm --no-debug /go/src/github.com/myuser/myrepo/wasm-main.go
3939

4040
**note: At this time, tinygo does not resolve dependencies from the /vendor/ folder within your project.**
4141

content/getting-started/install/windows.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description: >
99

1010
This page has information on how to install and use TinyGo on Windows 10. If you wish to build TinyGo from source, for example if you intend to contribute to the project, please take a look [here](../../../docs/guides/build).
1111

12-
TinyGo requires Go v1.19+ to be already installed on your machine.
12+
TinyGo requires Go v1.20+ to be already installed on your machine.
1313

1414
### Quick Install via Scoop
1515

@@ -33,7 +33,7 @@ You can test that the installation was successful by running the `version` comma
3333

3434
```shell
3535
> tinygo version
36-
tinygo version 0.31.2 windows/amd64 (using go version go1.22 and LLVM version 17.0.1)
36+
tinygo version 0.32.0 windows/amd64 (using go version go1.22 and LLVM version 18.1.2)
3737
```
3838

3939
Upgrading to the latest TinyGo version can be done via scoop with:
@@ -73,13 +73,13 @@ Upgrading to the latest versions can be as easy as:
7373

7474
### Manual Install
7575

76-
- You MUST use Go 1.19.x+ with the Windows 10 native install of TinyGo.
76+
- You MUST use Go 1.20.x+ with the Windows 10 native install of TinyGo.
7777

7878
- If you have not installed it yet, you can get it from https://golang.org/dl/
7979

8080
- Choose the download link for Microsoft Windows, Windows 7 or later, Intel 64-bit processor.
8181

82-
- Download the TinyGo binary for Windows file from https://github.com/tinygo-org/tinygo/releases/download/v0.31.2/tinygo0.31.2.windows-amd64.zip
82+
- Download the TinyGo binary for Windows file from https://github.com/tinygo-org/tinygo/releases/download/v0.32.0/tinygo0.32.0.windows-amd64.zip
8383

8484
- Decompress the file like this:
8585

@@ -99,7 +99,7 @@ Upgrading to the latest versions can be as easy as:
9999

100100
```
101101
> tinygo version
102-
tinygo version 0.31.2 windows/amd64 (using go version go1.22 and LLVM version 17.0.1)
102+
tinygo version 0.32.0 windows/amd64 (using go version go1.22 and LLVM version 18.1.2)
103103
```
104104

105105
### Flashing boards

0 commit comments

Comments
 (0)