mirror of
https://gitee.com/openharmony/third_party_rust_memoffset
synced 2024-11-23 07:10:22 +00:00
fmt
This commit is contained in:
parent
a614a209ab
commit
564d4a6c11
2
build.rs
2
build.rs
@ -1,5 +1,5 @@
|
||||
extern crate rustc_version;
|
||||
use rustc_version::{version, version_meta, Version, Channel};
|
||||
use rustc_version::{version, version_meta, Channel, Version};
|
||||
|
||||
fn main() {
|
||||
// Assert we haven't travelled back in time
|
||||
|
@ -61,10 +61,7 @@
|
||||
//! ```
|
||||
|
||||
#![no_std]
|
||||
#![cfg_attr(
|
||||
memoffset_nightly,
|
||||
feature(cfg_doctest)
|
||||
)]
|
||||
#![cfg_attr(memoffset_nightly, feature(cfg_doctest))]
|
||||
|
||||
#[macro_use]
|
||||
#[cfg(memoffset_nightly)]
|
||||
|
Loading…
Reference in New Issue
Block a user