Refactor ICU4X code to allow configured code by version#377
Conversation
|
Problems encountered in using this in all versions (1.3, 1.4, 1.5, and 2.0_beta)* $ gh pr checkout 377
For more information about this error, try
For more information about this error, try |
|
After rustup 1.80, this works fine. |
| pub mod relativedatetime_fmt; | ||
|
|
||
| #[cfg(any(ver = "1.3", ver = "1.4", ver = "1.5"))] | ||
| #[path = "datetime_1.rs"] |
There was a problem hiding this comment.
Interesting. I like the way you did this. I didn't know that you can configure which file Cargo should look at to find a particular module, but that's really convenient for this use case.
Unblocks #372