| // This is a placeholder to generate a Cargo.lock file. |
| // This file is part of ICU4X. For terms of use, please see the file |
| // called LICENSE at the top level of the ICU4X source tree |
| // (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ). |
| |
| //! This exists as a separate crate to work around |
| //! cargo being [unable to conditionally compile crate-types](https://github.com/rust-lang/cargo/issues/4881). |
| //! |
| //! This leads to problems like emscripten being unable to link |
| //! because symbols like log_js are not defined even if the crate_type |
| //! is not actually desired. As a workaround, the `icu_capi_staticlib` and |
| //! `icu_capi_cdylib` crates exist as endpoints to be built when those |
| //! respective library types are needed. |
| |
| // Necessary for symbols to be linked in |
| extern crate icu_capi; |