Skip to content

Commit c8c6021

Browse files
committed
use default features in libsqlite3-sys
1 parent c29952e commit c8c6021

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/test.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
with:
2525
toolchain: stable
2626
- run: cargo build --examples --verbose
27-
- run: cargo test
27+
- run: make test
2828
- name: Upload artifacts
2929
uses: actions/upload-artifact@v2
3030
with:
@@ -95,7 +95,7 @@ jobs:
9595
with:
9696
toolchain: stable
9797
- run: cargo build --examples --verbose
98-
- run: cargo test
98+
- run: make test
9999
- name: Upload artifacts
100100
uses: actions/upload-artifact@v2
101101
with:
@@ -123,7 +123,7 @@ jobs:
123123
with:
124124
toolchain: stable
125125
- run: cargo build --examples --verbose
126-
- run: cargo test
126+
- run: make test
127127
- name: Upload artifacts
128128
uses: actions/upload-artifact@v2
129129
with:

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ sqlite-loadable-macros={version="0.0.3", path="./sqlite-loadable-macros"}
1515
serde = {version="1.0.147", features = ["derive"]}
1616
serde_json = "1.0.87"
1717
bitflags = "1.3.2"
18-
libsqlite3-sys = {version="0.26.0", default-features = false, optional=true, features=["bundled"]}
18+
libsqlite3-sys = {version="0.26.0", optional=true, features=["bundled"]}
1919

2020
[dev-dependencies]
2121
rusqlite = "0.29.0"

src/ext.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ pub unsafe fn faux_sqlite_extension_init2(api: *mut sqlite3_api_routines) {
5050
}
5151
}
5252

53-
//definex!("value_text", c_uchar);
53+
#[cfg(not(feature = "static"))]
5454
static EXPECT_MESSAGE: &str =
5555
"sqlite-loadable error: expected method on SQLITE3_API. Please file an issue";
5656

0 commit comments

Comments
 (0)