Update project name.

This commit is contained in:
Dan Gohman
2018-10-30 12:59:49 -07:00
parent dac2eaa3cb
commit e32144727d
3 changed files with 6 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
[package]
name = "wasm-singlepass-experiment"
name = "lightbeam"
version = "0.0.0"
authors = ["Dan Gohman <sunfish@mozilla.com>"]
authors = ["The Lightbeam Project Developers"]
license = "Apache-2.0 WITH LLVM-exception"
readme = "README.md"
categories = ["wasm"]

View File

@@ -1,4 +1,4 @@
# Wasm Singlepass Experiment
# Lightbeam
This is an early-stage experimental project to build a single-pass
wasm-function-to-machine-code translator.
@@ -13,4 +13,4 @@ WebAssembly works at a low level, for learning assembly programming, or
both! And we're happy to mentor. So welcome, and check out the
[issue tracker] to see what's happening and how to get involved!
[issue tracker]: https://github.com/CraneStation/wasm-singlepass-experiment/issues
[issue tracker]: https://github.com/CraneStation/lightbeam/issues

View File

@@ -1,10 +1,10 @@
extern crate wasm_singlepass_experiment;
extern crate lightbeam;
use lightbeam::translate;
use std::fs::File;
use std::io;
use std::io::Read;
use std::path::Path;
use wasm_singlepass_experiment::translate;
fn read_to_end<P: AsRef<Path>>(path: P) -> io::Result<Vec<u8>> {
let mut buffer = Vec::new();