Comments (5)
Not yet fixed, but I've improved the error message to also include the source location (see da0a02d):
$ tinygo build -o wasm.wasm -target=wasm examples/wasm
/home/ayke/src/github.com/aykevl/tinygo/src/examples/wasm/wasm.go:26:12: todo: convert from string: rune
from tinygo.
Hey, I would like to take a stab at this.
from tinygo.
That would be great!
The feature will be very similar to the current stringFromBytes
implementation converting a string to a []byte
slice. The difference with converting to a []rune
slice is that that needs UTF-8 decoding, but all the decoding stuff has already been implemented in the runtime so you can take a look at what's already there.
These are the places that need some additions:
Line 91 in da85710
Line 2387 in da85710
Just ask if you have any questions.
from tinygo.
Thanks @aykevl, Let me give it a try.
from tinygo.
Fixed by #406.
from tinygo.
Related Issues (20)
- `-panic=trap` still prints panic messages HOT 3
- build '-target=wasm-unknown' pure wasm fail HOT 1
- error: I got an error while Im trying to import code to my clone arduino nano HOT 1
- ldflag variable set will not overwrite default, even if blank
- missing `net.Buffers` HOT 4
- Partial TLS support for wasm
- nrf: writes via `machine.Flash` cause assertion violations with SoftDevice enabled HOT 1
- `wasm-unknown` target doesn't define `memset` or `memcpy` HOT 2
- No support for new ARM softfloat/hardfloat distinction added in Go 1.22 HOT 6
- Bus Error on Raspberry Pi 4 B When Running Linked List Append HOT 1
- Joystick USB HID device - changing identity HOT 2
- Hello, thank you Tinygo. Can I use ESP8266's WiFi now HOT 1
- //go:linkname doesn't work for already defined functions HOT 4
- wasm file generation error: package net/http/httptrace is not in std HOT 3
- esp32-cam support
- Support for RV32IM HOT 4
- don't allocate closure variables if the closure doesn't escape
- Joystick axes reduced by 2 for values of >2 in range -32767..32767 on Windows HOT 1
- esp8266 wifi support HOT 1
- go install failing in go-llvm HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tinygo.