aws / aws-lambda-builders

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

fix: specify glibc version when building with cargo lambda for provided.al2 #640

Closed sidhujus closed 5 months ago

sidhujus commented 5 months ago

Issue #, if available:

Description of changes: cargo lambda builds with a higher version of glibc now as of this pr https://github.com/cargo-lambda/cargo-lambda/pull/563 so in order to avoid breaking customers using a provided.al2 runtime we must specify the correct glibc version through the --target flag used by cargo lambda

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