Comments (2)
I would say it's quite important that you do start from the Amazon Linux build image, and then perhaps use it as a base image that you install cargo into and then re-use for builds. But to be clear, it's no one's preference to use Docker. If I can get it to compile for the right glibc version using zig then that's ideal.
from rust.aws-cdk-lambda.
Yes, I certainly agree. I do think the Dockerfile that softprops/lambda-rust uses is a good starting point. I'll need to run some initial tests to confirm if the build environment works without the need to cross-compile with something like zig
, but my initial impression is it won't be needed. I also likewise feel that using Docker is not ideal is general, and building code with zig
should be preferrable in most cases.
from rust.aws-cdk-lambda.
Related Issues (10)
- Don't build on synth HOT 5
- openssl when cross compiling HOT 3
- How can I test locally using `sam local start-lambda` with this setup? HOT 1
- Unhelpful error thrown when cargo is missing HOT 2
- buildEnvironment does not pass correct params to build process HOT 2
- Local dependencies HOT 1
- Use cargo-lambda for compilation HOT 1
- Hardcode or specify a glibc version for compilation
- cdk destroy shouldn't rebuild the lambda? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rust.aws-cdk-lambda.