mirror of
https://gitee.com/openharmony/third_party_rust_link-cplusplus
synced 2024-11-23 07:19:41 +00:00
Release 1.0.0
This commit is contained in:
parent
b417ce3fda
commit
d978d98221
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "link-cplusplus"
|
||||
version = "0.0.0"
|
||||
version = "1.0.0"
|
||||
authors = ["David Tolnay <dtolnay@gmail.com>"]
|
||||
license = "MIT OR Apache-2.0"
|
||||
description = "Link libstdc++ or libc++ automatically or manually"
|
||||
|
@ -27,18 +27,18 @@ linked, whichever is the platform's default, should use:
|
||||
|
||||
```toml
|
||||
[dependencies]
|
||||
link-cplusplus = "0.0"
|
||||
link-cplusplus = "1.0"
|
||||
```
|
||||
|
||||
An application that wants a particular one or the other linked should use:
|
||||
|
||||
```toml
|
||||
[dependencies]
|
||||
link-cplusplus = { version = "0.0", features = ["libstdcxx"] }
|
||||
link-cplusplus = { version = "1.0", features = ["libstdcxx"] }
|
||||
|
||||
# or
|
||||
|
||||
link-cplusplus = { version = "0.0", features = ["libcxx"] }
|
||||
link-cplusplus = { version = "1.0", features = ["libcxx"] }
|
||||
```
|
||||
|
||||
An application that wants to handle its own more complicated logic for link
|
||||
@ -46,7 +46,7 @@ flags from its build script can make this crate do nothing by using:
|
||||
|
||||
```toml
|
||||
[dependencies]
|
||||
link-cplusplus = { version = "0.0", features = ["nothing"] }
|
||||
link-cplusplus = { version = "1.0", features = ["nothing"] }
|
||||
```
|
||||
|
||||
<br>
|
||||
|
@ -22,18 +22,18 @@
|
||||
//!
|
||||
//! ```toml
|
||||
//! [dependencies]
|
||||
//! link-cplusplus = "0.0"
|
||||
//! link-cplusplus = "1.0"
|
||||
//! ```
|
||||
//!
|
||||
//! An application that wants a particular one or the other linked should use:
|
||||
//!
|
||||
//! ```toml
|
||||
//! [dependencies]
|
||||
//! link-cplusplus = { version = "0.0", features = ["libstdcxx"] }
|
||||
//! link-cplusplus = { version = "1.0", features = ["libstdcxx"] }
|
||||
//!
|
||||
//! # or
|
||||
//!
|
||||
//! link-cplusplus = { version = "0.0", features = ["libcxx"] }
|
||||
//! link-cplusplus = { version = "1.0", features = ["libcxx"] }
|
||||
//! ```
|
||||
//!
|
||||
//! An application that wants to handle its own more complicated logic for link
|
||||
@ -41,5 +41,5 @@
|
||||
//!
|
||||
//! ```toml
|
||||
//! [dependencies]
|
||||
//! link-cplusplus = { version = "0.0", features = ["nothing"] }
|
||||
//! link-cplusplus = { version = "1.0", features = ["nothing"] }
|
||||
//! ```
|
||||
|
Loading…
Reference in New Issue
Block a user