Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix platform issue when determining module name from file #1505

Conversation

kiiadi
Copy link
Contributor

@kiiadi kiiadi commented Jun 28, 2022

Motivation and Context

Code generation fails on Windows

Description

Module name determination from filename wasn't working on Windows because of the path separator difference.

Testing

Checklist

  • I have updated CHANGELOG.next.toml if I made changes to the smithy-rs codegen or runtime crates
  • I have updated CHANGELOG.next.toml if I made changes to the AWS SDK, generated SDK code, or SDK runtime crates

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@kiiadi kiiadi force-pushed the kiiadi/fix-platform-issue-when-determining-module-name branch from e6f92e5 to 42a1e65 Compare June 28, 2022 01:25
@david-perez david-perez enabled auto-merge (squash) June 28, 2022 11:48
@david-perez david-perez merged commit ed04cbc into smithy-lang:main Jun 28, 2022
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.

4 participants