Skip to content

Commit

Permalink
Remove binary from correct location
Browse files Browse the repository at this point in the history
  • Loading branch information
Tehnix committed Nov 13, 2023
1 parent a2900b2 commit 380665d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lambda-directly-optimized/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
[target.x86_64-unknown-linux-gnu]
rustflags = [
# Remove location details from panics to reduce size.
"-Zlocation-detail=none",
# Enable parallel compiler Frontend for compilation speedup.
"-Zthreads=8",
]
Expand Down
1 change: 1 addition & 0 deletions lambda-directly-optimized/Dockerfile-arm-graviton-size
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ RUN export PATH="$HOME/.cargo/bin:$PATH"; \
rm -r src; \
# Delete the previously generated build artifacts.
rm -r target/$TARGET/release/deps/apollo_router_lambda*; \
rm -r target/$TARGET/release-size/deps/apollo_router_lambda*; \
rm target/lambda/apollo-router-lambda/bootstrap

# Copy our actual application code and build this.
Expand Down
1 change: 1 addition & 0 deletions lambda-directly-optimized/Dockerfile-arm-graviton-speed
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ RUN export PATH="$HOME/.cargo/bin:$PATH"; \
rm -r src; \
# Delete the previously generated build artifacts.
rm -r target/$TARGET/release/deps/apollo_router_lambda*; \
rm -r target/$TARGET/release-speed/deps/apollo_router_lambda*; \
rm target/lambda/apollo-router-lambda/bootstrap

# Copy our actual application code and build this.
Expand Down

0 comments on commit 380665d

Please sign in to comment.