Skip to content

Commit 321fc69

Browse files
committed
fix windows patches
1 parent eb9e4ac commit 321fc69

7 files changed

Lines changed: 23 additions & 30 deletions

patches-windows/remove-2-fog-examples.patch

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
diff --git a/Cargo.toml b/Cargo.toml
2-
index b787a012f..1b3680319 100644
2+
index 27470ce17..6fc31a400 100644
33
--- a/Cargo.toml
44
+++ b/Cargo.toml
5-
@@ -4741,30 +4741,6 @@ description = "Demonstrates how to enqueue custom draw commands in a render phas
5+
@@ -4713,28 +4713,6 @@ description = "Demonstrates how to enqueue custom draw commands in a render phas
66
category = "Shaders"
77
wasm = true
88

99
-[[example]]
1010
-name = "fog_volumes"
1111
-path = "examples/3d/fog_volumes.rs"
12-
-# Causes an ICE on docs.rs
13-
-doc-scrape-examples = false
12+
-doc-scrape-examples = true
1413
-
1514
-[package.metadata.example.fog_volumes]
1615
-name = "Fog volumes"
@@ -21,8 +20,7 @@ index b787a012f..1b3680319 100644
2120
-[[example]]
2221
-name = "scrolling_fog"
2322
-path = "examples/3d/scrolling_fog.rs"
24-
-# Causes an ICE on docs.rs
25-
-doc-scrape-examples = false
23+
-doc-scrape-examples = true
2624
-
2725
-[package.metadata.example.scrolling_fog]
2826
-name = "Scrolling fog"

patches-windows/remove-deferred_rendering-example.patch

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
diff --git a/Cargo.toml b/Cargo.toml
2-
index b787a012f..788348d11 100644
2+
index 27470ce17..08df2d124 100644
33
--- a/Cargo.toml
44
+++ b/Cargo.toml
5-
@@ -1308,18 +1308,6 @@ description = "Decal rendering"
5+
@@ -1307,17 +1307,6 @@ description = "Decal rendering"
66
category = "3D Rendering"
77
wasm = true
88

99
-[[example]]
1010
-name = "deferred_rendering"
1111
-path = "examples/3d/deferred_rendering.rs"
12-
-# Causes an ICE on docs.rs
13-
-doc-scrape-examples = false
12+
-doc-scrape-examples = true
1413
-
1514
-[package.metadata.example.deferred_rendering]
1615
-name = "Deferred Rendering"

patches-windows/remove-error_handling-example.patch

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
diff --git a/Cargo.toml b/Cargo.toml
2-
index b787a012f..b449b162a 100644
2+
index 27470ce17..70c0101d2 100644
33
--- a/Cargo.toml
44
+++ b/Cargo.toml
5-
@@ -2502,19 +2502,6 @@ description = "Systems are skipped if their parameters cannot be acquired"
5+
@@ -2459,18 +2459,6 @@ description = "Systems are skipped if their parameters cannot be acquired"
66
category = "ECS (Entity Component System)"
77
wasm = false
88

99
-[[example]]
1010
-name = "error_handling"
1111
-path = "examples/ecs/error_handling.rs"
12-
-# Causes an ICE on docs.rs
13-
-doc-scrape-examples = false
12+
-doc-scrape-examples = true
1413
-required-features = ["mesh_picking"]
1514
-
1615
-[package.metadata.example.error_handling]

patches-windows/remove-multi_asset_sync-example.patch

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
diff --git a/Cargo.toml b/Cargo.toml
2-
index b787a012f..d5896b2f6 100644
2+
index 27470ce17..cbc9c1ae9 100644
33
--- a/Cargo.toml
44
+++ b/Cargo.toml
5-
@@ -2090,19 +2090,6 @@ description = "How to configure the texture to repeat instead of the default cla
5+
@@ -2078,18 +2078,6 @@ description = "How to configure the texture to repeat instead of the default cla
66
category = "Assets"
77
wasm = true
88

99
-# Assets
1010
-[[example]]
1111
-name = "multi_asset_sync"
1212
-path = "examples/asset/multi_asset_sync.rs"
13-
-# Causes an ICE on docs.rs
14-
-doc-scrape-examples = false
13+
-doc-scrape-examples = true
1514
-
1615
-[package.metadata.example.multi_asset_sync]
1716
-name = "Multi-asset synchronization"

patches-windows/remove-ssr-example.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
diff --git a/Cargo.toml b/Cargo.toml
2-
index b787a012f..4ba12d635 100644
2+
index 27470ce17..0c8126587 100644
33
--- a/Cargo.toml
44
+++ b/Cargo.toml
5-
@@ -4618,18 +4618,6 @@ description = "Demonstrates visibility ranges"
5+
@@ -4598,18 +4598,6 @@ description = "Demonstrates visibility ranges"
66
category = "3D Rendering"
77
wasm = true
88

99
-[[example]]
1010
-name = "ssr"
1111
-path = "examples/3d/ssr.rs"
12-
-# Causes an ICE on docs.rs
13-
-doc-scrape-examples = false
12+
-doc-scrape-examples = true
13+
-required-features = ["bluenoise_texture"]
1414
-
1515
-[package.metadata.example.ssr]
1616
-name = "Screen Space Reflections"

patches-windows/remove-volumetric_fog-example.patch

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
diff --git a/Cargo.toml b/Cargo.toml
2-
index 690aad88b..afd7ddfc4 100644
2+
index 27470ce17..702b1bf23 100644
33
--- a/Cargo.toml
44
+++ b/Cargo.toml
5-
@@ -4895,18 +4895,6 @@ description = "Demonstrates depth of field"
5+
@@ -4655,17 +4655,6 @@ description = "Demonstrates depth of field"
66
category = "3D Rendering"
77
wasm = false
88

99
-[[example]]
1010
-name = "volumetric_fog"
1111
-path = "examples/3d/volumetric_fog.rs"
12-
-# Causes an ICE on docs.rs
13-
-doc-scrape-examples = false
12+
-doc-scrape-examples = true
1413
-
1514
-[package.metadata.example.volumetric_fog]
1615
-name = "Volumetric fog"

patches-windows/remove-window-settings-example.patch

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
diff --git a/Cargo.toml b/Cargo.toml
2-
index b787a012f..9306ae2fd 100644
2+
index 27470ce17..d5960edb2 100644
33
--- a/Cargo.toml
44
+++ b/Cargo.toml
5-
@@ -4153,18 +4153,6 @@ description = "Illustrates making the window transparent and hiding the window d
5+
@@ -4110,17 +4110,6 @@ description = "Illustrates making the window transparent and hiding the window d
66
category = "Window"
77
wasm = false
88

99
-[[example]]
1010
-name = "window_settings"
1111
-path = "examples/window/window_settings.rs"
12-
-# Causes an ICE on docs.rs
13-
-doc-scrape-examples = false
12+
-doc-scrape-examples = true
1413
-
1514
-[package.metadata.example.window_settings]
1615
-name = "Window Settings"

0 commit comments

Comments
 (0)