mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-04 11:07:46 +00:00
runtime: only implement CountString for required platforms
This commit is contained in:
committed by
Ron Evans
parent
405c0263b0
commit
efafda1d32
Vendored
+1
@@ -18,4 +18,5 @@ func main() {
|
||||
|
||||
// package strings
|
||||
fmt.Println("strings.IndexByte:", strings.IndexByte("asdf", 'd'))
|
||||
fmt.Println("strings.Replace:", strings.Replace("An example string", " ", "-", -1))
|
||||
}
|
||||
|
||||
Vendored
+1
@@ -3,3 +3,4 @@ stdout: 1
|
||||
stderr: 2
|
||||
pseudorandom number: 1298498081
|
||||
strings.IndexByte: 2
|
||||
strings.Replace: An-example-string
|
||||
|
||||
Reference in New Issue
Block a user