File tree Expand file tree Collapse file tree 13 files changed +55
-5
lines changed
Expand file tree Collapse file tree 13 files changed +55
-5
lines changed Original file line number Diff line number Diff line change 1- ARG RUST_VERSION=1.85
1+ ARG RUST_VERSION=1.87
22FROM rust:${RUST_VERSION}-alpine
33
44ARG ARCH="x86_64"
@@ -7,7 +7,7 @@ RUN apk add --no-cache clang lld musl-dev git perl make cmake
77RUN rustup target add wasm32-wasip2 ${ARCH}-unknown-linux-gnu
88
99# Set up environment for Cargo registry
10- ENV CARGO_REGISTRIES_AZURE_VSCODE_TINYKUBE_INDEX ="sparse+https://pkgs.dev.azure.com/azure-iot-sdks/iot-operations/_packaging/preview/Cargo/index/"
10+ ENV CARGO_REGISTRIES_AZURE_WASM_SDK_INDEX ="sparse+https://pkgs.dev.azure.com/azure-iot-sdks/iot-operations/_packaging/preview/Cargo/index/"
1111ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
1212
1313WORKDIR /src
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ ENTRYPOINT [ "${APP_NAME}.wasm" ]
4444
4545## Environment Variables
4646
47- - ` CARGO_REGISTRIES_AZURE_VSCODE_TINYKUBE_INDEX ` : Azure IoT Operations Cargo registry URL
47+ - ` CARGO_REGISTRIES_AZURE_WASM_SDK_INDEX ` : Azure IoT Operations Cargo registry URL
4848- ` CARGO_NET_GIT_FETCH_WITH_CLI ` : Use Git CLI for fetching dependencies
4949
5050## Publishing
Original file line number Diff line number Diff line change 11# Rust WASM Builder Runtime Environment
2- ARG RUST_VERSION=1.85
2+ ARG RUST_VERSION=1.87
33FROM rust:${RUST_VERSION}-alpine
44
55ARG ARCH="x86_64"
@@ -9,7 +9,7 @@ RUN apk add --no-cache clang lld musl-dev git perl make cmake
99RUN rustup target add wasm32-wasip2 ${ARCH}-unknown-linux-gnu
1010
1111# Set up cargo registry for Azure IoT Operations packages
12- ENV CARGO_REGISTRIES_AZURE_VSCODE_TINYKUBE_INDEX ="sparse+https://pkgs.dev.azure.com/azure-iot-sdks/iot-operations/_packaging/preview/Cargo/index/"
12+ ENV CARGO_REGISTRIES_AZURE_WASM_SDK_INDEX ="sparse+https://pkgs.dev.azure.com/azure-iot-sdks/iot-operations/_packaging/preview/Cargo/index/"
1313ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
1414
1515# Create directories
Original file line number Diff line number Diff line change 1+ [registries ]
2+ aio-sdks = { index = " sparse+https://pkgs.dev.azure.com/azure-iot-sdks/iot-operations/_packaging/preview/Cargo/index/" }
3+
4+ [build ]
5+ target = " wasm32-wasip2"
Original file line number Diff line number Diff line change 1+ [registries ]
2+ aio-sdks = { index = " sparse+https://pkgs.dev.azure.com/azure-iot-sdks/iot-operations/_packaging/preview/Cargo/index/" }
3+
4+ [build ]
5+ target = " wasm32-wasip2"
Original file line number Diff line number Diff line change 1+ [registries ]
2+ aio-sdks = { index = " sparse+https://pkgs.dev.azure.com/azure-iot-sdks/iot-operations/_packaging/preview/Cargo/index/" }
3+
4+ [build ]
5+ target = " wasm32-wasip2"
Original file line number Diff line number Diff line change 1+ [registries ]
2+ aio-sdks = { index = " sparse+https://pkgs.dev.azure.com/azure-iot-sdks/iot-operations/_packaging/preview/Cargo/index/" }
3+
4+ [build ]
5+ target = " wasm32-wasip2"
Original file line number Diff line number Diff line change 1+ [registries ]
2+ aio-sdks = { index = " sparse+https://pkgs.dev.azure.com/azure-iot-sdks/iot-operations/_packaging/preview/Cargo/index/" }
3+
4+ [build ]
5+ target = " wasm32-wasip2"
Original file line number Diff line number Diff line change 1+ [registries ]
2+ aio-sdks = { index = " sparse+https://pkgs.dev.azure.com/azure-iot-sdks/iot-operations/_packaging/preview/Cargo/index/" }
3+
4+ [build ]
5+ target = " wasm32-wasip2"
Original file line number Diff line number Diff line change 1+ [registries ]
2+ aio-sdks = { index = " sparse+https://pkgs.dev.azure.com/azure-iot-sdks/iot-operations/_packaging/preview/Cargo/index/" }
3+
4+ [build ]
5+ target = " wasm32-wasip2"
You can’t perform that action at this time.
0 commit comments