File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11[package ]
22name = " cargo-c"
3- version = " 0.10.15 +cargo-0.90 .0"
3+ version = " 0.10.16 +cargo-0.91 .0"
44authors = [" Luca Barbato <lu_zero@gentoo.org>" ]
55description = " Helper program to build and install c-like libraries"
66license = " MIT"
@@ -9,7 +9,7 @@ readme = "README.md"
99repository = " https://github.com/lu-zero/cargo-c"
1010categories = [" command-line-utilities" , " development-tools::cargo-plugins" ]
1111keywords = [" cargo" , " cdylib" ]
12- rust-version = " 1.87 "
12+ rust-version = " 1.88 "
1313
1414[[bin ]]
1515name = " cargo-capi"
@@ -28,7 +28,7 @@ name = "cargo-ctest"
2828path = " src/bin/ctest.rs"
2929
3030[dependencies ]
31- cargo = " 0.90 .0"
31+ cargo = " 0.91 .0"
3232cargo-util = " 0.2"
3333semver = " 1.0.3"
3434log = " 0.4"
Original file line number Diff line number Diff line change @@ -939,7 +939,7 @@ fn compile_with_exec(
939939 . iter ( )
940940 . filter_map ( |l| {
941941 let id = l. unit . pkg . package_id ( ) ;
942- if let Some ( ref m ) = l . script_meta {
942+ l . script_metas . iter ( ) . flatten ( ) . find_map ( |m| {
943943 if let Some ( env) = r. extra_env . get ( m) {
944944 env. iter ( ) . find_map ( |e| {
945945 if e. 0 == "OUT_DIR" {
@@ -951,9 +951,7 @@ fn compile_with_exec(
951951 } else {
952952 None
953953 }
954- } else {
955- None
956- }
954+ } )
957955 } )
958956 . collect ( ) ;
959957
You can’t perform that action at this time.
0 commit comments