Skip to content

Commit 13a6a33

Browse files
committed
Get the project to work with a toy rust project and link correctly
1 parent b18239b commit 13a6a33

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

src/libcprover-rust/Cargo.lock

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/libcprover-rust/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "cprover-api-rust"
2+
name = "libcprover_rust"
33
version = "0.1.0"
44
edition = "2021"
55
description = "Rust API for CBMC and assorted CProver tools"
@@ -17,4 +17,4 @@ cxx = "1.0"
1717
cxx-build = "1.0"
1818

1919
[lib]
20-
crate-type = ["staticlib"]
20+
crate-type = ["rlib"]

src/libcprover-rust/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
use cxx::{CxxString, CxxVector};
2+
23
#[cxx::bridge]
34
pub mod ffi {
45

0 commit comments

Comments
 (0)