Skip to content

Commit

Permalink
Use incremental=no on release build
Browse files Browse the repository at this point in the history
  • Loading branch information
dmarteau committed Nov 24, 2024
1 parent 52c6fb3 commit e71df1a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@ homepage = "https://github.com/3liz/proj4rs/"
repository = "https://github.com/3liz/proj4rs/"
categories = ["science::geo"]


[profile.release]
lto = true
codegen-units = 1
strip = "debuginfo"

incremental = false

[patch.crates-io]
# Use local crates
Expand Down
2 changes: 0 additions & 2 deletions proj4rs-clib/python/proj4rs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,6 @@ def transform(
-------
A tuple of buffer objects in the case the input is a Sequence,
a tuple of float otherwise.
If inplace is true and input is a Buffer, the input object is returned.
"""
match (x, y, z):
case (abc.Buffer(), None, None):
Expand Down
4 changes: 3 additions & 1 deletion proj4rs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ exclude = [
]

[dependencies]
thiserror = "1.0"
thiserror = "2.0"
crs-definitions = { version = "0.3", optional = true, default-features = false, features = ["proj4"] }
geo-types = { version = "0.7.12", optional = true }
lazy_static = { version = "1", optional = true }
Expand Down Expand Up @@ -67,4 +67,6 @@ all-features = true

[package.metadata.wasm-pack.profile.release]
# Fix 'table.fill requires bulk-memory on' error
# Maybe related to https://github.com/rustwasm/wasm-bindgen/issues/4250
# Should be resolved with wasm-bindgen 0.2.95
wasm-opt = ["-O", "--enable-bulk-memory"]

0 comments on commit e71df1a

Please sign in to comment.