Commit 8ff42fd5 authored by Kai Brandes's avatar Kai Brandes

cleanup export wasm code

parent f88a6964
......@@ -10,22 +10,3 @@ pub mod day5;
pub mod day6;
pub mod day7;
pub mod results;
mod utils;
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
extern {
fn alert(s: &str);
}
#[wasm_bindgen]
pub fn greet() {
alert("Hello, Advent!");
}
#[wasm_bindgen]
pub fn result_1a(input: String)-> u32 {
day1::calc_day_1_a(input)
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment