Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.
TypeScript cross-platformelectronffmpegopen-sourceproduct-demorustscreen-capturescreen-recorderscreen-recordingscreen-studioscreencastspeech-to-texttypescriptvideo-editingvideo-editorwaylandwgpuwhisper
fix(build): only accept a LIBCLANG_PATH entry that is a regular file
Etienne Lescot9efb84bf7b74
diff --git a/crates/compositor/build.rs b/crates/compositor/build.rsindex 93097fd90..2dc9ec53b 100644--- a/crates/compositor/build.rs+++ b/crates/compositor/build.rs@@ -380,7 +380,13 @@ fn drop_unusable_libclang_path() {std::fs::read_dir(path).is_ok_and(|entries| {entries.flatten()- .any(|e| is_libclang_filename(&e.file_name().to_string_lossy()))+ // `is_file()` autant que le nom : `read_dir` rend aussi les+ // sous-répertoires et les fichiers spéciaux, et un répertoire qui+ // s'appellerait `libclang.so` passerait le seul test de nom — clang-sys+ // le retiendrait puis échouerait à le charger, sans repli possible.+ .any(|e| {+ e.path().is_file() && is_libclang_filename(&e.file_name().to_string_lossy())+ })})};if !usable {