From 571ea7cf2220b2f550066d0fbf6fdc4715a79bd1 Mon Sep 17 00:00:00 2001 From: Finn Evers Date: Mon, 2 Feb 2026 20:27:41 +0100 Subject: [PATCH] extension_api: Improve documentation for `make_file_executable` (#48198) Extension authors frequently guard this method in their extensions although this is not necessary. Thus, this PR updates the documentation of `make_file_executable` with a brief mention to indicate that this is not needed. Release Notes: - N/A --- crates/extension_api/wit/since_v0.8.0/extension.wit | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/extension_api/wit/since_v0.8.0/extension.wit b/crates/extension_api/wit/since_v0.8.0/extension.wit index 8195162b89a420d322970bf894bd9ec824119087..fc2735c72b463225feed0d371ae8274b56c78be1 100644 --- a/crates/extension_api/wit/since_v0.8.0/extension.wit +++ b/crates/extension_api/wit/since_v0.8.0/extension.wit @@ -57,6 +57,8 @@ world extension { import download-file: func(url: string, file-path: string, file-type: downloaded-file-type) -> result<_, string>; /// Makes the file at the given path executable. + /// + /// This is a no-op on Windows. import make-file-executable: func(filepath: string) -> result<_, string>; /// Updates the installation status for the given language server.