Skip to content

Commit c1462e4

Browse files
committed
Merge branch 'master' into reqcopy
2 parents 177af9f + 4ff4603 commit c1462e4

File tree

9 files changed

+153
-143
lines changed

9 files changed

+153
-143
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
uses: actions-rs/toolchain@v1
3636
with:
3737
profile: minimal
38-
toolchain: nightly
38+
toolchain: nightly-2022-07-25 #make sure this matches the version in the rust-toolchain files
3939
override: true
4040
components: cargo, rustc, clippy, rustfmt
4141
target: wasm32-unknown-unknown

.github/workflows/pkg.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
uses: actions-rs/toolchain@v1
3232
with:
3333
profile: minimal
34-
toolchain: nightly
34+
toolchain: nightly-2022-07-25
3535
override: true
3636
components: cargo, rustc, clippy, rustfmt
3737
target: wasm32-unknown-unknown

Makefile

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
PWD=$(shell pwd)
22
WASM_TARGET=wasm32-unknown-unknown
3-
CARGO=cargo +nightly
43
GO=go
54
OL_DIR=$(abspath ./src)
65
OL_GO_FILES=$(shell find src/ -name '*.go')
@@ -34,7 +33,7 @@ endif
3433
all: ol imgs/lambda wasm-worker wasm-functions native-functions
3534

3635
wasm-worker:
37-
cd wasm-worker && ${CARGO} build ${BUILD_FLAGS} ${WASM_WORKER_FLAGS}
36+
cd wasm-worker && cargo build ${BUILD_FLAGS} ${WASM_WORKER_FLAGS}
3837
cp wasm-worker/target/${BUILDTYPE}/wasm-worker ./ol-wasm
3938

4039
wasm-functions:
@@ -48,10 +47,10 @@ native-functions: imgs/lambda
4847
ls test-registry/hashing.bin test-registry/noop.bin # guarantee they were created
4948

5049
update-dependencies:
51-
cd lambda/runtimes/native && ${CARGO} update
52-
cd wasm-worker && ${CARGO} update
53-
cd bin-functions && ${CARGO} update
54-
cd container-proxy && ${CARGO} update
50+
cd lambda/runtimes/native && cargo update
51+
cd wasm-worker && cargo update
52+
cd bin-functions && cargo update
53+
cd container-proxy && cargo update
5554

5655
imgs/lambda: $(LAMBDA_FILES)
5756
${MAKE} -C lambda
@@ -62,10 +61,10 @@ install-python-bindings:
6261
cd scripts && python setup.py install
6362

6463
check-runtime:
65-
cd lambda/runtimes/rust && ${CARGO} check
64+
cd lambda/runtimes/rust && cargo check
6665

6766
container-proxy:
68-
cd container-proxy && ${CARGO} build ${BUILD_FLAGS}
67+
cd container-proxy && cargo build ${BUILD_FLAGS}
6968
cp ./container-proxy/target/${BUILDTYPE}/open-lambda-container-proxy ./ol-container-proxy
7069

7170
ol: $(OL_GO_FILES)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ ln -s /usr/local/go/bin/go /usr/bin/go
2828

2929
Further, you need to have a recent nightly version of Rust, the wasm32 toolchain, and the `cross` tool installed. The easiest way to do this is.
3030
```
31-
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain=nightly
31+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain=nightly-2022-07-25
3232
source $HOME/.cargo/env
3333
rustup target add wasm32-unknown-unknown
3434
cargo install cross

bin-functions/rust-toolchain

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nightly-2022-07-25

container-proxy/Cargo.lock

Lines changed: 55 additions & 51 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

container-proxy/rust-toolchain

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nightly-2022-07-25

0 commit comments

Comments
 (0)