Skip to content

Commit

Permalink
Use SDK version as reported by cargo at build time, specify GNU 'ld' …
Browse files Browse the repository at this point in the history
…for build tools
  • Loading branch information
herzogp committed May 13, 2024
1 parent 0b01620 commit fcad437
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
target/
.envrc
.direnv/
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
2 changes: 1 addition & 1 deletion lib/src/internal/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down

0 comments on commit fcad437

Please sign in to comment.