mirror of
https://gitee.com/openharmony/third_party_rust_cxx
synced 2024-11-23 15:19:44 +00:00
Add CI on stable 1.42
This commit is contained in:
parent
3fe5e2c220
commit
b606ce367e
@ -3,6 +3,7 @@ language: rust
|
|||||||
rust:
|
rust:
|
||||||
- nightly
|
- nightly
|
||||||
- beta
|
- beta
|
||||||
|
- stable
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- cargo run --manifest-path demo-rs/Cargo.toml
|
- cargo run --manifest-path demo-rs/Cargo.toml
|
||||||
|
@ -20,8 +20,7 @@ can be 100% safe.
|
|||||||
cxx = "0.2"
|
cxx = "0.2"
|
||||||
```
|
```
|
||||||
|
|
||||||
*Compiler support: requires rustc 1.42+ (beta on January 30, stable on March
|
*Compiler support: requires rustc 1.42+*
|
||||||
12)*
|
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
|
10
WORKSPACE
10
WORKSPACE
@ -24,17 +24,15 @@ bazel_version(name = "bazel_version")
|
|||||||
load("@io_bazel_rules_rust//rust:repositories.bzl", "rust_repository_set")
|
load("@io_bazel_rules_rust//rust:repositories.bzl", "rust_repository_set")
|
||||||
|
|
||||||
rust_repository_set(
|
rust_repository_set(
|
||||||
name = "rust_1_42_beta_linux",
|
name = "rust_1_42_linux",
|
||||||
exec_triple = "x86_64-unknown-linux-gnu",
|
exec_triple = "x86_64-unknown-linux-gnu",
|
||||||
extra_target_triples = [],
|
extra_target_triples = [],
|
||||||
iso_date = "2020-02-08",
|
version = "1.42.0",
|
||||||
version = "beta",
|
|
||||||
)
|
)
|
||||||
|
|
||||||
rust_repository_set(
|
rust_repository_set(
|
||||||
name = "rust_1_42_beta_darwin",
|
name = "rust_1_42_darwin",
|
||||||
exec_triple = "x86_64-apple-darwin",
|
exec_triple = "x86_64-apple-darwin",
|
||||||
extra_target_triples = [],
|
extra_target_triples = [],
|
||||||
iso_date = "2020-02-08",
|
version = "1.42.0",
|
||||||
version = "beta",
|
|
||||||
)
|
)
|
||||||
|
@ -10,8 +10,7 @@
|
|||||||
//!
|
//!
|
||||||
//! <br>
|
//! <br>
|
||||||
//!
|
//!
|
||||||
//! *Compiler support: requires rustc 1.42+ (beta on January 30, stable on March
|
//! *Compiler support: requires rustc 1.42+*
|
||||||
//! 12)*
|
|
||||||
//!
|
//!
|
||||||
//! <br>
|
//! <br>
|
||||||
//!
|
//!
|
||||||
|
Loading…
Reference in New Issue
Block a user