olin 0.3.0

A small runtime library to help out programs linked against CommonWA targeting Olin. This will only be useful on the wasm32-unknown-unknown target.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#![no_main]
#![feature(start)]
#![macro_use]
extern crate olin;

use olin::{entrypoint, env, log};

entrypoint!();

fn main() -> Result<(), env::Error> {
    let name = "MAGIC_CONCH";
    let value = env::get(name)?;

    log::info(&format!("{} -> {}", name, value));

    Ok(())
}