Skip to content

cargo: add "lib" to crate-type list #227

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scylla-rust-wrapper/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ ntest = "0.9.3"
rusty-fork = "0.3.0"
[lib]
name = "scylla_cpp_driver"
crate-type = ["cdylib", "staticlib"]
crate-type = ["cdylib", "staticlib", "lib"]

[profile.dev]
panic = "abort"
Expand Down
4 changes: 2 additions & 2 deletions scylla-rust-wrapper/src/binding.rs
Original file line number Diff line number Diff line change
Expand Up @@ -371,13 +371,13 @@ macro_rules! invoke_binder_maker_macro_with_type {
/// There are also 2 helper variants, to accomodate scenarios often encountered in cppdriver (sets of 3 functions,
/// binding the same type by index, name and name_n):
/// * `make_binders!(type, fn_idx, fn_name, fn_name_n)` - is equivalent to:
/// ```
/// ```rust,ignore
/// make_binders!(@index type, fn_idx);
/// make_binders!(@name type, fn_name);
/// make_binders!(@name_n type, fn_name_n);
/// ```
/// * `make_binders!(t1, fn_idx, t2, fn_name, t3, fn_name_n)` - is equivalent to:
/// ```
/// ```rust,ignore
/// make_binders!(@index t1, fn_idx);
/// make_binders!(@name t2, fn_name);
/// make_binders!(@name_n t3, fn_name_n);
Expand Down