Skip to content

Commit 121c26b

Browse files
authored
Merge pull request #63 from madsmtm/fix-no_std
Fix `no_std`
2 parents 24d8faa + 5bb83c8 commit 121c26b

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,7 @@ jobs:
3030
with:
3131
command: test
3232
args: --features "serde"
33+
- uses: actions-rs/cargo@v1
34+
with:
35+
command: test
36+
args: --no-default-features

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "unicode-bidi"
3-
version = "0.3.6"
3+
version = "0.3.7"
44
authors = ["The Servo Project Developers"]
55
license = "MIT / Apache-2.0"
66
description = "Implementation of the Unicode Bidirectional Algorithm"

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666

6767
#![no_std]
6868
// We need to link to std to make doc tests work on older Rust versions
69-
#![cfg(feature = "std")]
69+
#[cfg(feature = "std")]
7070
extern crate std;
7171
#[macro_use]
7272
extern crate alloc;

0 commit comments

Comments
 (0)