File tree 3 files changed +9
-2
lines changed
3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -260,6 +260,13 @@ jobs:
260
260
command : |
261
261
apt-get update
262
262
apt-get install -y python3 python3-dev
263
+ - when :
264
+ condition :
265
+ equal : [ << parameters.target >>, x86_64-unknown-linux-musl ]
266
+ steps :
267
+ - run :
268
+ name : add -crt-satic flag
269
+ command : export RUSTFLAGS="-C target-feature=-crt-static"
263
270
- run :
264
271
name : Install Target
265
272
command : rustup target add << parameters.target >>
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ tokio.workspace = true
24
24
[dependencies .pyo3 ]
25
25
version = " 0.23.3"
26
26
# this is necessary to automatically initialize the Python interpreter
27
- features = [" auto-initialize" , " experimental-async" ]
27
+ features = [" auto-initialize" , " experimental-async" , " abi3 " ]
28
28
optional = true
29
29
30
30
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ unicode-segmentation.workspace = true
81
81
[dependencies .pyo3 ]
82
82
version = " 0.23.3"
83
83
# this is necessary to automatically initialize the Python interpreter
84
- features = [" auto-initialize" ]
84
+ features = [" auto-initialize" , " abi3 " ]
85
85
optional = true
86
86
87
87
[features ]
You can’t perform that action at this time.
0 commit comments