We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c09cec0 commit 3ec7e12Copy full SHA for 3ec7e12
build-new-version.sh
@@ -294,7 +294,16 @@ EOF
294
}
295
return get_by_triple(URLS, triple)
296
297
-DEPENDS += "rust-bin-cross-\${TARGET_ARCH} (= ${TARGET_VERSION}-${NIGHTLY_DATE})"
+EOF
298
+
299
+ if is_nightly; then
300
+ echo >> "$CARGO_BIN_RECIPE" "DEPENDS += \"rust-bin-cross-\${TARGET_ARCH} (= ${TARGET_VERSION}-${NIGHTLY_DATE})\""
301
+ else
302
+ echo >> "$CARGO_BIN_RECIPE" "DEPENDS += \"rust-bin-cross-\${TARGET_ARCH} (= ${TARGET_VERSION})\""
303
+ fi
304
305
+ cat <<EOF >>${CARGO_BIN_RECIPE}
306
307
LIC_FILES_CHKSUM = "\\
308
file://LICENSE-APACHE;md5=${CARGO_APACHE_EXPECTED} \\
309
file://LICENSE-MIT;md5=${CARGO_MIT_EXPECTED} \\
0 commit comments