Remove logging levels restrictions (#538)

* Fixes #537: Remove release mode logging levels restrictions;

* Add information about log's logging levels in the README;
This commit is contained in:
Benjamin Bouvier
2018-10-02 19:45:23 +02:00
committed by Dan Gohman
parent e8fc612dc2
commit 0b3d3ac880
7 changed files with 22 additions and 6 deletions

View File

@@ -18,7 +18,7 @@ failure = { version = "0.1.1", default-features = false, features = ["derive"] }
failure_derive = { version = "0.1.1", default-features = false }
hashmap_core = { version = "0.1.9", optional = true }
target-lexicon = { version = "0.0.3", default-features = false }
log = { version = "0.4.4", default-features = false, features = ["release_max_level_warn"] }
log = { version = "0.4.4", default-features = false }
# It is a goal of the cranelift-codegen crate to have minimal external dependencies.
# Please don't add any unless they are essential to the task of creating binary
# machine code. Integration tests that need external dependencies can be

View File

@@ -1,7 +1,7 @@
//! Cranelift DSL classes.
//!
//! This module defines the classes that are used to define Cranelift
//! instructions and other entitties.
//! instructions and other entities.
pub mod types;

View File

@@ -151,7 +151,7 @@ pub struct RegClassData {
/// first register unit in each allocatable register.
pub mask: RegUnitMask,
/// The global `RegInfo` instance containing that this register class.
/// The global `RegInfo` instance containing this register class.
pub info: &'static RegInfo,
}