aws / aws-lambda-builders

Python library to compile, build & package AWS Lambda functions for several runtimes & framework
Apache License 2.0
329 stars 136 forks source link

fix: set CARGO_TARGET_DIR env var to support cargo workspace setup for sam build #649

Closed hawflau closed 2 months ago

hawflau commented 2 months ago

Issue #, if available:

634

Description of changes: This is to implement the workaround as fix as suggested in https://github.com/aws/aws-lambda-builders/issues/634 to support building lambda functions configured in a cargo workspace layout.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.