RPM build fix (reverted CI changes which will need to be un-reverted or made conditional) and vendor Rust dependencies to make builds much faster in any CI system.
This commit is contained in:
18
zeroidc/vendor/unicode-normalization/src/__test_api.rs
vendored
Normal file
18
zeroidc/vendor/unicode-normalization/src/__test_api.rs
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
// This crate comprises hacks and glue required to test private functions from tests/
|
||||
//
|
||||
// Keep this as slim as possible.
|
||||
//
|
||||
// If you're caught using this outside this crates tests/, you get to clean up the mess.
|
||||
|
||||
#[cfg(not(feature = "std"))]
|
||||
use crate::no_std_prelude::*;
|
||||
|
||||
use crate::stream_safe::StreamSafe;
|
||||
|
||||
pub fn stream_safe(s: &str) -> String {
|
||||
StreamSafe::new(s.chars()).collect()
|
||||
}
|
||||
|
||||
pub mod quick_check {
|
||||
pub use crate::quick_check::*;
|
||||
}
|
||||
Reference in New Issue
Block a user