Clean way to patch the std
This commit is contained in:
15
crates/std/patches.sed
Normal file
15
crates/std/patches.sed
Normal file
@@ -0,0 +1,15 @@
|
||||
s|crate::collections::TryReserveError|alloc_crate::collections::TryReserveError|g
|
||||
s|crate::sync::Arc|alloc_crate::sync::Arc|g
|
||||
s|alloc::ffi|alloc_crate::ffi|g
|
||||
s|alloc::slice::Join|alloc_crate::slice::Join|g
|
||||
s|alloc::bstr|alloc_crate::bstr|g
|
||||
s|alloc::collections::TryReserveError|alloc_crate::collections::TryReserveError|g
|
||||
s|crate::collections::VecDeque|alloc_crate::collections::VecDeque|g
|
||||
# s|collections::HashMap|hashbrown::HashMap|g
|
||||
/crate::backtrace_rs/c \ todo!()
|
||||
/crate::sys::os::getpid/c \ todo!()
|
||||
/\[doc = include_str!/c \ // todo retreive docs
|
||||
# /target_os = "xous",/a \ target_os = "survos",
|
||||
|
||||
# Ajouter d'autres modifications facilement ici :
|
||||
# s|ancien_texte|nouveau_texte|g
|
||||
Reference in New Issue
Block a user