Browse Source

Fix a few more URLs after project relocation (#555)

pull/558/head
Alex Crichton 5 years ago
committed by Dan Gohman
parent
commit
622285790c
  1. 2
      README.md
  2. 4
      crates/environ/src/cache/config.rs

2
README.md

@ -61,6 +61,6 @@ For more information, see the [Rust API embedding chapter] of the Wasmtime docum
[high-level and safe Rust API]: https://docs.rs/wasmtime/
[proposed WebAssembly C API]: https://github.com/WebAssembly/wasm-c-api
[Rust API embedding chapter]: https://cranestation.github.io/wasmtime/embed-rust.html
[Rust API embedding chapter]: https://bytecodealliance.github.io/wasmtime/embed-rust.html
It's Wasmtime.

4
crates/environ/src/cache/config.rs

@ -171,7 +171,7 @@ pub fn create_new_config<P: AsRef<Path> + Debug>(
let content = "\
# Comment out certain settings to use default values.
# For more settings, please refer to the documentation:
# https://cranestation.github.io/wasmtime/cli-cache.html
# https://bytecodealliance.github.io/wasmtime/cli-cache.html
[cache]
enabled = true
@ -192,7 +192,7 @@ enabled = true
const ZSTD_COMPRESSION_LEVELS: std::ops::RangeInclusive<i32> = 0..=21;
lazy_static! {
static ref PROJECT_DIRS: Option<ProjectDirs> =
ProjectDirs::from("", "CraneStation", "wasmtime");
ProjectDirs::from("", "BytecodeAlliance", "wasmtime");
static ref DEFAULT_CONFIG_PATH: Result<PathBuf, String> = PROJECT_DIRS
.as_ref()
.map(|proj_dirs| proj_dirs.config_dir().join("wasmtime-cache-config.toml"))

Loading…
Cancel
Save