diff --git a/.gitignore b/.gitignore index 2f7896d..3212b7c 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ target/ +.envrc +.direnv/ diff --git a/Cargo.lock b/Cargo.lock index 2b31de9..09eca70 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,7 +4,7 @@ version = 3 [[package]] name = "antithesis_sdk" -version = "0.1.1" +version = "0.1.2" dependencies = [ "libc", "libloading", diff --git a/README.md b/README.md index 9219c61..56b0325 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,8 @@ For general usage guidance see the [Antithesis Rust SDK Documentation](http://an ### Notes -Please use llvm's link/loader from clang version 14 or greater. +GNU Binutils `ld` works reliably when building/running rust applications that use the Antithesis SDK. + To disable assertions use this feature flag for cargo builds: diff --git a/lib/Cargo.lock b/lib/Cargo.lock index 07c438e..86956a1 100644 --- a/lib/Cargo.lock +++ b/lib/Cargo.lock @@ -4,7 +4,7 @@ version = 3 [[package]] name = "antithesis_sdk_rust" -version = "0.1.0" +version = "0.1.2" dependencies = [ "lazy_static", "libc", diff --git a/lib/Cargo.toml b/lib/Cargo.toml index 42d4c97..43f0480 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "antithesis_sdk" -version = "0.1.1" +version = "0.1.2" edition = "2021" rust-version = "1.62.1" license = "MIT" diff --git a/lib/src/internal/mod.rs b/lib/src/internal/mod.rs index ef76b9a..80e2e54 100644 --- a/lib/src/internal/mod.rs +++ b/lib/src/internal/mod.rs @@ -32,7 +32,7 @@ struct AntithesisSDKInfo { const PROTOCOL_VERSION: &str = "1.0.0"; // Tracks SDK releases -const SDK_VERSION: &str = "0.1.2"; +const SDK_VERSION: &str = env!("CARGO_PKG_VERSION"); pub const LOCAL_OUTPUT: &str = "ANTITHESIS_SDK_LOCAL_OUTPUT";