From 56d2f54060ba88233394e21fcdcbe1f55544b47c Mon Sep 17 00:00:00 2001 From: Yota Toyama Date: Fri, 26 Apr 2019 04:08:02 +0000 Subject: [PATCH] Bump version --- Cargo.lock | 2 +- Cargo.toml | 2 +- build.rs | 8 ++++++++ examples/borrow_check_free/Cargo.lock | 4 ++-- examples/dynamic_threads/Cargo.lock | 4 ++-- examples/gc_free/Cargo.lock | 4 ++-- examples/static_threads/Cargo.lock | 4 ++-- 7 files changed, 18 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f2e4a55..149f201 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -10,7 +10,7 @@ dependencies = [ [[package]] name = "bdwgc-alloc" -version = "0.2.1" +version = "0.3.0" dependencies = [ "autotools 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/Cargo.toml b/Cargo.toml index 2b1ea67..15d1795 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "bdwgc-alloc" description = "impl GlobalAlloc for bdwgc" -version = "0.2.1" +version = "0.3.0" authors = ["swgillespie ", "Yota Toyama "] repository = "https://github.com/raviqqe/bdwgc-alloc" edition = "2018" diff --git a/build.rs b/build.rs index 3529620..a475b65 100644 --- a/build.rs +++ b/build.rs @@ -32,4 +32,12 @@ fn main() { dst.join("lib").display() ); println!("cargo:rustc-link-lib=static=gc"); + + for dir in &[LIB_ATOMIC_OPS_DIR, LIB_GC_DIR] { + std::process::Command::new("sh") + .arg("-c") + .arg(format!("cd {} && git clean -dfx", dir)) + .output() + .unwrap(); + } } diff --git a/examples/borrow_check_free/Cargo.lock b/examples/borrow_check_free/Cargo.lock index f4f6e38..aad09bb 100644 --- a/examples/borrow_check_free/Cargo.lock +++ b/examples/borrow_check_free/Cargo.lock @@ -10,7 +10,7 @@ dependencies = [ [[package]] name = "bdwgc-alloc" -version = "0.2.1" +version = "0.3.0" dependencies = [ "autotools 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)", @@ -20,7 +20,7 @@ dependencies = [ name = "borrow_check_free" version = "0.1.0" dependencies = [ - "bdwgc-alloc 0.2.1", + "bdwgc-alloc 0.3.0", ] [[package]] diff --git a/examples/dynamic_threads/Cargo.lock b/examples/dynamic_threads/Cargo.lock index d800afa..0fdc815 100644 --- a/examples/dynamic_threads/Cargo.lock +++ b/examples/dynamic_threads/Cargo.lock @@ -10,7 +10,7 @@ dependencies = [ [[package]] name = "bdwgc-alloc" -version = "0.2.1" +version = "0.3.0" dependencies = [ "autotools 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)", @@ -25,7 +25,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" name = "dynamic_threads" version = "0.1.0" dependencies = [ - "bdwgc-alloc 0.2.1", + "bdwgc-alloc 0.3.0", ] [[package]] diff --git a/examples/gc_free/Cargo.lock b/examples/gc_free/Cargo.lock index aa8ff1b..a71390b 100644 --- a/examples/gc_free/Cargo.lock +++ b/examples/gc_free/Cargo.lock @@ -10,7 +10,7 @@ dependencies = [ [[package]] name = "bdwgc-alloc" -version = "0.2.1" +version = "0.3.0" dependencies = [ "autotools 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)", @@ -25,7 +25,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" name = "gc_free" version = "0.1.0" dependencies = [ - "bdwgc-alloc 0.2.1", + "bdwgc-alloc 0.3.0", ] [[package]] diff --git a/examples/static_threads/Cargo.lock b/examples/static_threads/Cargo.lock index 0d5b458..0acea6a 100644 --- a/examples/static_threads/Cargo.lock +++ b/examples/static_threads/Cargo.lock @@ -10,7 +10,7 @@ dependencies = [ [[package]] name = "bdwgc-alloc" -version = "0.2.1" +version = "0.3.0" dependencies = [ "autotools 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)", @@ -30,7 +30,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" name = "static_threads" version = "0.1.0" dependencies = [ - "bdwgc-alloc 0.2.1", + "bdwgc-alloc 0.3.0", ] [metadata]