I was recently reading more about the lambda_runtime crate and came across this issue where it is mentioned that the #[lambda] procedural macro can be misleading and cause problems if used naively. In this post we will implement our own simple custom runtime for AWS Lambda in Rust, and understand the reasons behind this issue. The code used in this blog post is available on Github in my micro_lambda repository.