softprops / serverless-rust

⚡ 🦀 a serverless framework plugin for rustlang applications
https://www.npmjs.com/package/serverless-rust
MIT License
542 stars 82 forks source link

target binary by name (for upcoming release) #21

Closed softprops closed 5 years ago

softprops commented 5 years ago

What did you implement:

issues like https://github.com/softprops/serverless-rust/issues/19 and https://github.com/softprops/lambda-rust/issues/2 have indicated that assumptions about using a find command in a container to discover executables on window os'es can be problematic even with docker.

as an alternative strategy we can leverage this plugins knowledge of the binary name to provide an explicit hint to the containerized builder which binary to package. this is just a prep pr pending the release of the next version of lambda-rust which will include a hook to take advantage of that hook.

Closes: #xxx

How did you verify your change:

What (if anything) would need to be called out in the CHANGELOG for the next release: