This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# tinygo version 0.25.0 darwin/amd64 (using go version go1.18 and LLVM version 14.0.0) | |
# go version go1.18.3 darwin/arm64 | |
tinygo build -wasm-abi=generic -target=wasi -o bin/main.wasm main.go |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function rust_playground(opts) | |
---@diagnostic disable-next-line: redefined-local | |
local opts = opts or {} | |
local copy = opts.copy or false | |
local open = opts.open or false | |
local char_to_hex = function(c) | |
return string.format('%%%02X', string.byte(c)) | |
end | |
local function urlencode(url) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
linters-settings: | |
govet: | |
disable-all: true | |
enable: | |
- nilness |
OlderNewer