-
Notifications
You must be signed in to change notification settings - Fork 12
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
Rename async_main to main #93
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
src/main.rs
Outdated
@@ -342,6 +342,13 @@ fn main() -> Result<(), Box<dyn Error>> { | |||
} | |||
} | |||
|
|||
if selected.contains(&"embassy".to_string()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will work fine but I would prefer some template command like //FILENAME src/main.rs
(or similar) - just to make it easier in future to add more variants of the main source file
Or we could change the INCLUDEFILE command to accept something like //INCLUDEFILE !embassy src/main.rs
(the filename should be optional)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But I'm also fine with doing it like it's done here and have an issue to rethink the approach
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.