Browse Source

Update project name.

pull/397/head
Dan Gohman 6 years ago
parent
commit
e32144727d
  1. 4
      Cargo.toml
  2. 4
      README.md
  3. 4
      examples/test.rs

4
Cargo.toml

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

4
README.md

@ -1,4 +1,4 @@
# Wasm Singlepass Experiment # Lightbeam
This is an early-stage experimental project to build a single-pass This is an early-stage experimental project to build a single-pass
wasm-function-to-machine-code translator. 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 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] 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

4
examples/test.rs

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

Loading…
Cancel
Save