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