Skip to content

Commit

Permalink
chore: add multiversion for selecting simd functions (#151)
Browse files Browse the repository at this point in the history
Signed-off-by: usamoi <[email protected]>
  • Loading branch information
usamoi authored Nov 20, 2023
1 parent 47583cc commit ee95a1e
Show file tree
Hide file tree
Showing 3 changed files with 280 additions and 207 deletions.
3 changes: 0 additions & 3 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
[build]
rustdocflags = ["--document-private-items"]

[target.'cfg(all(target_os="linux", target_arch="x86_64"))']
rustflags = ["-Ctarget-cpu=x86-64-v3"]

[target.'cfg(target_os="macos")']
# Postgres symbols won't be available until runtime
rustflags = ["-Clink-arg=-Wl,-undefined,dynamic_lookup"]
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ bytemuck = { version = "1.14.0", features = ["extern_crate_alloc"] }
serde_with = "3.4.0"
chrono = { version = "0.4.31", features = ["clock"] }
chrono-tz = "0.8.4"
multiversion = "0.7.3"

[dev-dependencies]
pgrx-tests = "0.11.0"
Expand Down
Loading

0 comments on commit ee95a1e

Please sign in to comment.