mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-07-27 16:25:15 -04:00
parent
2769ef4df1
commit
343038c3c3
2 changed files with 4 additions and 0 deletions
|
@ -15,6 +15,9 @@ def build(setup_kwargs: Dict[str, Any]) -> None:
|
|||
path=cargo_toml_path,
|
||||
binding=Binding.PyO3,
|
||||
py_limited_api=True,
|
||||
# We force always building in release mode, as we can't tell the
|
||||
# difference between using `poetry` in development vs production.
|
||||
debug=False,
|
||||
)
|
||||
setup_kwargs.setdefault("rust_extensions", []).append(extension)
|
||||
setup_kwargs["zip_safe"] = False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue