Skip to content
Permalink
Browse files

Some improvements (#173)

  • Loading branch information...
nhynes committed Jul 17, 2019
1 parent b9cb95d commit a8f1f14594f2acd2c8bd49623b8f7fe4ba009ca0
Showing with 3 additions and 6 deletions.
  1. +1 −1 .circleci/config.yml
  2. +0 −1 Cargo.toml
  3. +0 −2 oasis-build/src/dispatcher_gen.rs
  4. +1 −1 oasis-std/Cargo.toml
  5. +1 −1 oasis-std/src/backend/wasi.rs
@@ -73,7 +73,7 @@ commands:
command: |
rustc_version=$(rustc --version | cut -d'(' -f 2 | cut -d')' -f 1 | tr ' ' '_')
llvm_target=$(rustc --print sysroot | cut -d'-' -f2-)
aws s3 cp oasis-build.tar.gz s3://oasis-framework/$rustc_version/$llvm_target/oasis-build.tar.gz
aws s3 cp oasis-build.tar.gz s3://oasis-rs/$rustc_version/$llvm_target/oasis-build.tar.gz
docker_push:
parameters:
@@ -18,6 +18,5 @@ members = [
exclude = ["tests"]

[profile.release]
incremental = false
lto = true
opt-level = 3
@@ -29,11 +29,9 @@ pub fn generate_and_insert(
let rpcs_dispatcher = generate_rpc_dispatcher(service_name, &rpcs, default_fn);
let rpcs_include_file = out_dir.join(format!("{}_dispatcher.rs", crate_name));
let mut buf = Vec::new();
writeln!(&mut buf, "{{").unwrap();
for stmt in rpcs_dispatcher.stmts.iter() {
writeln!(&mut buf, "{}", pprust::stmt_to_string(&stmt)).unwrap();
}
writeln!(&mut buf, "}}").unwrap();
std::fs::write(&rpcs_include_file, &buf).unwrap();
insert_rpc_dispatcher_stub(krate, &rpcs_include_file);
}
@@ -1,6 +1,6 @@
[package]
name = "oasis-std"
version = "0.2.0"
version = "0.2.1"
license = "Apache-2.0"
description = "Types and functions for developing against the Oasis platform"
edition = "2018"
@@ -14,7 +14,7 @@ use super::Error;

macro_rules! chain_dir {
($($ext:literal),*) => {
concat!("/opt/oasis", $($ext),*)
concat!("/opt/oasis/", $($ext),*)
}
}
fn home<P: AsRef<Path>>(addr: &Address, file: P) -> PathBuf {

0 comments on commit a8f1f14

Please sign in to comment.
You can’t perform that action at this time.