Update to ONDK r29.2

This commit is contained in:
topjohnwu
2025-08-28 16:15:59 -07:00
parent c4e2985677
commit 484d53ef7e
17 changed files with 93 additions and 76 deletions
+1 -3
View File
@@ -29,11 +29,9 @@ pub(crate) fn switch_root(path: &Utf8CStr) {
if let Some(last_mount) = mounts
.range::<String, _>((Unbounded, Excluded(&info.target)))
.last()
{
if info.target.starts_with(&format!("{}/", *last_mount)) {
&& info.target.starts_with(&format!("{}/", *last_mount)) {
continue;
}
}
let mut target = info.target.clone();
let target = Utf8CStr::from_string(&mut target);