-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Suppress warning from the cfg(loom) directive by having it emit "rustc-check-cfg" in build.rs - Remove usage of legacy "std::usize" module. - Ignore "clippy::multiple_bound_locations". We use multiple bounds as a workaround for an issue in pin-project-lite where only one bound can be assigned per location. The phrasing of pin-project-lite's README implies that this issue is WONTFIX. To quote: > This library does not tackle as expansive of a range of use cases as > pin-project does. If your use case is not already covered, please use > pin-project. Signed-off-by: John Nunley <[email protected]>
- Loading branch information
Showing
6 changed files
with
12 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
//! Emits the necessary "checked" compile time flag warning for "loom". | ||
//! | ||
//! Without this, the compiler complains about the unspecified "loom" flag. | ||
fn main() { | ||
println!("cargo:rustc-check-cfg=cfg(loom)"); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters