Skip to content

Commit

Permalink
Use "dep:" syntax to prevent bevy_dylib being a cargo feature
Browse files Browse the repository at this point in the history
Removes a potential footgun as you should use the dynamic_linking feature.
  • Loading branch information
paul-hansen committed Aug 20, 2023
1 parent c1a5428 commit 361d05d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ default = [
]

# Force dynamic linking, which improves iterative compile times
dynamic_linking = ["bevy_dylib", "bevy_internal/dynamic_linking"]
dynamic_linking = ["dep:bevy_dylib", "bevy_internal/dynamic_linking"]

# Provides animation functionality
bevy_animation = ["bevy_internal/bevy_animation"]
Expand Down

0 comments on commit 361d05d

Please sign in to comment.