Skip to content

Commit

Permalink
upgrade cr-sqlite for a nice perf boost, remove darwin x86_64 target …
Browse files Browse the repository at this point in the history
…for now
  • Loading branch information
jeromegn committed Dec 11, 2024
1 parent 9345adf commit 77b5a79
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
fail-fast: false
matrix:
include:
- target: x86_64-apple-darwin
- target: aarch64-apple-darwin
os: macos-latest
- target: x86_64-unknown-linux-gnu
os: ubuntu-latest
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ jobs:
strategy:
matrix:
include:
- target: x86_64-apple-darwin
os: macos-latest
- target: aarch64-apple-darwin
os: macos-latest
- target: x86_64-unknown-linux-gnu
Expand Down
Binary file modified crates/corro-types/crsqlite-darwin-aarch64.dylib
Binary file not shown.
Binary file removed crates/corro-types/crsqlite-darwin-x86_64.dylib
Binary file not shown.
Binary file modified crates/corro-types/crsqlite-linux-aarch64.so
Binary file not shown.
Binary file modified crates/corro-types/crsqlite-linux-x86_64.so
Binary file not shown.
2 changes: 0 additions & 2 deletions crates/corro-types/src/sqlite.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ pub const CRSQL_EXT_FILENAME: &str = "crsqlite.so";

#[cfg(all(target_arch = "aarch64", target_os = "macos"))]
pub const CRSQL_EXT: &[u8] = include_bytes!("../crsqlite-darwin-aarch64.dylib");
#[cfg(all(target_arch = "x86_64", target_os = "macos"))]
pub const CRSQL_EXT: &[u8] = include_bytes!("../crsqlite-darwin-x86_64.dylib");
#[cfg(all(target_arch = "x86_64", target_os = "linux"))]
pub const CRSQL_EXT: &[u8] = include_bytes!("../crsqlite-linux-x86_64.so");
#[cfg(all(target_arch = "aarch64", target_os = "linux"))]
Expand Down

0 comments on commit 77b5a79

Please sign in to comment.