diff options
author | Satya Rohith <me@satyarohith.com> | 2024-07-29 22:28:04 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-29 12:58:04 -0400 |
commit | 8c2f1f5a55a2a9bb9e04c12236faa341b3fd49b6 (patch) | |
tree | f32705f9ab92d0f3f8c839f1cb00918fcd32cd05 /ext | |
parent | 8bab761bccf976ac568b0b3f4decfd7e77747767 (diff) |
chore: upgrade to rust 1.80 (#24778)
Diffstat (limited to 'ext')
-rw-r--r-- | ext/fetch/proxy.rs | 4 | ||||
-rw-r--r-- | ext/ffi/Cargo.toml | 3 | ||||
-rw-r--r-- | ext/webgpu/Cargo.toml | 4 |
3 files changed, 9 insertions, 2 deletions
diff --git a/ext/fetch/proxy.rs b/ext/fetch/proxy.rs index bbb40e2f1..f23df5dd0 100644 --- a/ext/fetch/proxy.rs +++ b/ext/fetch/proxy.rs @@ -269,10 +269,10 @@ impl NoProxy { /// * If neither environment variable is set, `None` is returned /// * Entries are expected to be comma-separated (whitespace between entries is ignored) /// * IP addresses (both IPv4 and IPv6) are allowed, as are optional subnet masks (by adding /size, - /// for example "`192.168.1.0/24`"). + /// for example "`192.168.1.0/24`"). /// * An entry "`*`" matches all hostnames (this is the only wildcard allowed) /// * Any other entry is considered a domain name (and may contain a leading dot, for example `google.com` - /// and `.google.com` are equivalent) and would match both that domain AND all subdomains. + /// and `.google.com` are equivalent) and would match both that domain AND all subdomains. /// /// For example, if `"NO_PROXY=google.com, 192.168.1.0/24"` was set, all of the following would match /// (and therefore would bypass the proxy): diff --git a/ext/ffi/Cargo.toml b/ext/ffi/Cargo.toml index 5220c4fdb..961c96b01 100644 --- a/ext/ffi/Cargo.toml +++ b/ext/ffi/Cargo.toml @@ -27,3 +27,6 @@ serde_json = "1.0" [target.'cfg(windows)'.dependencies] winapi = { workspace = true, features = ["errhandlingapi", "minwindef", "ntdef", "winbase", "winnt"] } + +[lints.rust] +unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_aarch, values("x86_64", "aarch64"))'] } diff --git a/ext/webgpu/Cargo.toml b/ext/webgpu/Cargo.toml index 47b2a3172..00e265f09 100644 --- a/ext/webgpu/Cargo.toml +++ b/ext/webgpu/Cargo.toml @@ -13,6 +13,10 @@ description = "WebGPU implementation for Deno" [lib] path = "lib.rs" +[features] +angle = [] +vulkan-portability = [] + # We make all dependencies conditional on not being wasm, # so the whole workspace can built as wasm. [target.'cfg(not(target_arch = "wasm32"))'.dependencies] |