Skip to content

Commit 4619eaf

Browse files
committed
tests/Cargo: fix cargo outdated (use ffi2)
1 parent f6feb24 commit 4619eaf

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

tests/packages/hello-world/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ categories = [
2525
crate-type = ["cdylib"]
2626

2727
[dependencies]
28-
ffi = "0.1.1"
28+
ffi2 = "0.1.0"
2929

3030
simics = { version = "0.1.1", workspace = true }
3131

tests/packages/hello-world/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ use simics::{
1212
class, interface, simics_init, FromConfObject,
1313
};
1414

15+
extern crate ffi2 as ffi;
16+
1517
#[class(name = "HelloWorld")]
1618
#[derive(FromConfObject, Default)]
1719
struct HelloWorld {

0 commit comments

Comments
 (0)