Skip to content

Commit

Permalink
Strip debug symbols during build
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonxslays committed Dec 14, 2021
1 parent f9bc546 commit 46b6249
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from setuptools import setup
from setuptools_rust import Binding, RustExtension # type: ignore
from setuptools_rust import Binding, RustExtension, Strip # type: ignore


setup_requires = ["setuptools-rust>=0.9.2"]
Expand Down Expand Up @@ -38,7 +38,10 @@
],
rust_extensions=[
RustExtension(
"piston_rspy.piston_rspy", "Cargo.toml", binding=Binding.PyO3, # type: ignore
"piston_rspy.piston_rspy",
"Cargo.toml",
binding=Binding.PyO3, # type: ignore
strip=Strip.Debug, # type: ignore
)
],
setup_requires=setup_requires,
Expand Down

0 comments on commit 46b6249

Please sign in to comment.