-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Standalone binary #1931
Standalone binary #1931
Conversation
The proof of concept is now done! Ignore the failing tests and the missing polish, again. It is still a draft. I want @shadows-withal's approval before finishing this :) How to try it out
|
I discarded the This should make things much smoother and less hacky, especially because we have many issues related to the language server. This should also enable us to use Cargo instead of |
2387ea6
to
1e1f031
Compare
Here is a proof of concept for #1919 of how the file embedding would be done with some macro magic 馃獎
You can take a look at the macro expansion generated by
cargo-expand
:Macro expansion
Now that we have this static instance of the type
EmbeddedFiles
, we can implement further logic on this type and use the instance anywhere in the code :D