Question for those who use @rustlang: is it acceptable to do network requests in a proc macro to fetch non http://crates.io dependencies needed for code gen? How would you do this otherwise? http://build.rs and store in target folder?
What kind of deps are you looking to import? Knowing more details about the workflow you want would be helpful to help think of a better approach.
-
-
It’s metadata files (windows specific stuff). We read them to know which code to generate
-
Yeah def the most common / successful I've seen people include these is to have them live in a dedicated git submodule. That way network all requests are done during git checkout, and linking never needs to hit the network.
- 4 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.