We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f4621d commit e18c297Copy full SHA for e18c297
1 file changed
packages/rust/tgrustc/src/process.rs
@@ -237,6 +237,10 @@ pub(crate) async fn content_address_path(path: &str) -> tg::Result<tg::Value> {
237
return Ok(template.into());
238
}
239
240
+ if path.starts_with("/proc/") || path.starts_with("/sys/") || path.starts_with("/dev/") {
241
+ return Ok(template.into());
242
+ }
243
+
244
let path_obj = Path::new(path);
245
if path_obj.is_absolute() && path_obj.exists() {
246
if let Some(cached_id) = read_checkin_cache(path) {
0 commit comments