cleanup
This commit is contained in:
parent
b6e251dcca
commit
5d104a1d01
3 changed files with 6 additions and 4 deletions
|
|
@ -31,8 +31,9 @@ mlua = { version = "0.9.8", features = [
|
|||
"vendored",
|
||||
"send",
|
||||
], optional = true }
|
||||
magnus = { version = "0.7.1", optional = true, features = ["embed"] }
|
||||
magnus = { version = "0.7.1", optional = true }
|
||||
rb-sys = { version = "*", default-features = false, features = ["link-ruby", "ruby-static"], optional = true }
|
||||
openssl-sys = { version = "0.9", features = ["vendored"] }
|
||||
crossbeam-channel = "0.5.15"
|
||||
|
||||
[[example]]
|
||||
|
|
|
|||
5
build.rs
5
build.rs
|
|
@ -1,6 +1,5 @@
|
|||
fn main() {
|
||||
// export RUBY_CONFIGURE_OPTS="--disable-shared --disable-install-doc --disable-install-rdoc"
|
||||
// ./configure --with-cc-opt=“-I/usr/local/ssl/include” –with-ld-opt=“-L/usr/local/ssl/lib -Wl,-Bstatic -lssl -lcrypto -Wl,-Bdynamic -ldl”
|
||||
use std::{env, path::PathBuf, process::Command};
|
||||
|
||||
fn main() {
|
||||
println!("cargo:rustc-link-lib=z"); // TODO: if features Ruby
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// TODO: install with CC=clang rbenv install 3.4.3
|
||||
|
||||
use std::{
|
||||
collections::HashMap,
|
||||
ffi::CString,
|
||||
|
|
|
|||
Loading…
Reference in a new issue