Skip to content

Commit b630d48

Browse files
committed
fix docs
1 parent 75cb223 commit b630d48

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ unset CDPATH
66

77
root="$(pwd)"
88

9-
cargo build --release
9+
cargo build --workspace --release
1010

1111
mkdir -p build
1212

@@ -38,7 +38,7 @@ if [ ! -d ruby-strudel-build-root ]; then
3838
autoconf
3939
export cflags="-DSTRUDEL"
4040
export LDFLAGS="-L${root}/target/release/"
41-
export LIBS="-lstrudel"
41+
export LIBS="-lstrudel_st"
4242
./configure --prefix="${root}/build/rubies/2.6.3-strudel" --with-baseruby="$(which ruby)"
4343
unset cflags
4444
unset LDFLAGS

strudel-ffi/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ include = [
1717

1818
[lib]
1919
crate-type = ["cdylib"]
20-
name = "strudel"
20+
name = "strudel_st"
2121

2222
[dependencies]
2323
fnv = "1.0"
2424
libc = "0.2"
2525
strudel = { version = "1.0", path = ".." }
2626

2727
[dev-dependencies]
28-
memoffset = "0.6"
28+
memoffset = "0.6"

strudel-ffi/src/ffi.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
//! These functions are callable from C by including `st.h` and linking in
99
//! `libstrudel`.
1010
//!
11-
//! [`StHashMap`]: crate::StHashMap
11+
//! [`StHashMap`]: strudel::StHashMap
1212
1313
use core::ffi::c_void;
1414
use std::os::raw::c_int;

0 commit comments

Comments
 (0)