aboutsummaryrefslogtreecommitdiffhomepage
path: root/testdata/env.txt
AgeCommit message (Collapse)Author
2021-08-05wasm: add support for the crypto/rand packageAyke van Laethem
This is done via wasi-libc and the WASI interface, for ease of maintenance (only one implementation for both WASI and JS/browsers).
2021-06-21crypto/rand: replace this package with a TinyGo versionAyke van Laethem
This package provides access to an operating system resource (cryptographic numbers) and so needs to be replaced with a TinyGo version that does this in a different way. I've made the following choices while adding this feature: - I'm using the getentropy call whenever possible (most POSIX like systems), because it is easier to use and more reliable. Linux is the exception: it only added getentropy relatively recently. - I've left bare-metal implementations to a future patch. This because it's hard to reliably get cryptographically secure random numbers on embedded devices: most devices do not have a hardware PRNG for this purpose.
2021-04-21runtime: implement command line arguments in hosted environmentsAyke van Laethem
Implement command line arguments for Linux, MacOS and WASI.
2021-04-21runtime: implement environment variables for LinuxAyke van Laethem
2021-04-09main: clean up testsAyke van Laethem
- Explicitly list all test cases. This makes it possible to store tests in testdata/ that aren't tested on all platforms. - Clean up filesystem and env test, by running them in a subtest and deduplicating some code and removing the additionalArgs parameter.