chore: export rust flag for musl build
parent
8966cfb3d3
commit
11c4c49ad1
|
@ -260,6 +260,13 @@ jobs:
|
|||
command: |
|
||||
apt-get update
|
||||
apt-get install -y python3 python3-dev
|
||||
- when:
|
||||
condition:
|
||||
equal: [ << parameters.target >>, x86_64-unknown-linux-musl ]
|
||||
steps:
|
||||
- run:
|
||||
name: add -crt-satic flag
|
||||
command: export RUSTFLAGS="-C target-feature=-crt-static"
|
||||
- run:
|
||||
name: Install Target
|
||||
command: rustup target add << parameters.target >>
|
||||
|
|
|
@ -24,7 +24,7 @@ tokio.workspace = true
|
|||
[dependencies.pyo3]
|
||||
version = "0.23.3"
|
||||
# this is necessary to automatically initialize the Python interpreter
|
||||
features = ["auto-initialize", "experimental-async"]
|
||||
features = ["auto-initialize", "experimental-async", "abi3"]
|
||||
optional = true
|
||||
|
||||
|
||||
|
|
|
@ -81,7 +81,7 @@ unicode-segmentation.workspace = true
|
|||
[dependencies.pyo3]
|
||||
version = "0.23.3"
|
||||
# this is necessary to automatically initialize the Python interpreter
|
||||
features = ["auto-initialize"]
|
||||
features = ["auto-initialize", "abi3"]
|
||||
optional = true
|
||||
|
||||
[features]
|
||||
|
|
Loading…
Reference in New Issue