-
Notifications
You must be signed in to change notification settings - Fork 363
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Trying to run locally:
cargo run --example=basic
Downloaded simple-error v0.1.13
Compiling simple-error v0.1.13
Compiling simple_logger v1.0.1
Compiling lambda_runtime v0.2.0 (/Users/walther/git/aws-lambda-rust-runtime/lambda-runtime)
Finished dev [unoptimized + debuginfo] target(s) in 3.87s
Running `/Users/walther/git/aws-lambda-rust-runtime/target/debug/examples/basic`
thread 'main' panicked at 'Could not find runtime API env var: environment variable not found', lambda-runtime-core/src/runtime.rs:79:13
note: Run with `RUST_BACKTRACE=1` for a backtrace.
It would be useful to have some documentation on how to run Rust-based Lambda functions locally, for development & testing purposes.
aschokking
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request