Skip to content

Conversation

@Ryan-Gordon
Copy link
Owner

What did you implement:

Taken from here with one extra bit of linting added: softprops/serverless-rust#124

Closes: #xxx

How did you verify your change:

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

lexi-ember and others added 3 commits February 21, 2024 12:33
- Add "strictMode" functionality
  - "strictMode" is on by default
  - When enabled, an error is thrown when no Rust builds are found
  - When disabled, the error is suppressed
  - "strictMode" can be disabled with custom.rust.strictMode: false
- Fix validation warning
  - serverless does not accept "rust" as a runtime
  - a function can be marked as "rust" the old way, or by adding tags.language: "rust"
- Support predefined artifacts and skip recompile
  - This allows an artifact to be built in one CI-step and deployed in another
  - When artifact is defined, the artifact zip is uploaded and compile is skipped
- Update tests to correct some pre-existing failures and test around strictMode
@Ryan-Gordon Ryan-Gordon merged commit d6f4492 into master Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants