aws-amplify / aws-amplify/amplify-cli
Rust runtime build options for "amplify push"/ "amplify function build"
- Dominant language
- TypeScript
- Stars
- 2.9k
- Forks
- 825
- Avg merge
- 11d 23h
- Merged PRs (30d)
- 2
Description
### Is this feature request related to a new or existing Amplify category?
_No response_
### Is this related to another service?
_No response_
### Describe the feature you'd like to request
when running "amplify push"/ "amplify function build" the cli attempt to compile the rust functions using Docker which I have found to not work
e.g.
Error: Command failed with exit code 125: docker run --platform linux/amd64 --rm --user "$(id -u)":"$(id: -g)" -v
### Describe the solution you'd like
a few solutions for macOS would work
being able to customize what "amplify push"/ "amplify function build" run in a config file
for instance using after install a mac to linux cross-complier
additionally something like this work work well
amplify push --function-build-override "cargo build --release --target x86_64-unknown-linux-gnu"
amplify function build --function-build-override "cargo build --release --target x86_64-unknown-linux-gnu"
this would also be helpful for Windows
### Describe alternatives you've considered
Allow for alternative rust build options
### Additional context
_No response_
### Is this something that you'd be interested in working on?
- [ ] 👋 I may be able to implement this feature request
### Would this feature include a breaking change?
- [ ] ⚠️ This feature might incur a breaking change
Contributor guide
Assessment
This issue has not been assessed yet.