-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
plugin_group! macro #11460
Closed
Closed
plugin_group! macro #11460
Changes from 19 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
fe97c3c
plugin_group! macro
doonv 575b029
Create MinimalPlugins with the plugin_group macro
doonv 244494a
Document the plugin_group macro
doonv 3e4e172
Add CorePipelinePlugin to DefaultPlugins
doonv 84b6282
Re-add note
doonv 4c8b853
Improve plugin_group macro documentation
doonv 93a6a80
Merge branch 'main' into plugin-group-macro
doonv 2163fd6
Apply suggestions from code review
doonv 14f3dfa
Improve cfg(feature) documentation
doonv ab5ff97
Add limited support for `#[doc(hidden)]`
doonv 904f715
Merge branch 'main' into plugin-group-macro
doonv a165f69
Merge https://github.com/bevyengine/bevy into plugin-group-macro
doonv 7edce9f
No longer require comma before hidden pluginsd
doonv 72838cf
Use `{}` instead of `()` for calling the macro
doonv a647ac1
Improve error messages when a `Plugin` doesn't implement `Default`
doonv 397ac7f
Improve error messages when a `Plugin` doesn't implement `Default` (p…
doonv 78523ff
Fix CI
doonv a6b12d4
Merge branch 'main' of https://github.com/bevyengine/bevy into plugin…
doonv 79c9778
Merge upstream 'main' and add default for DevToolsPlugin
doonv 8a185ed
Remove aconfig.toml
doonv File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Add the contents of this file to `config.toml` to enable "fast build" configuration. Please read the notes below. | ||
|
||
# NOTE: For maximum performance, build using a nightly compiler | ||
# If you are using rust stable, remove the "-Zshare-generics=y" below. | ||
|
||
[target.x86_64-unknown-linux-gnu] | ||
linker = "clang" | ||
rustflags = [ | ||
"-Clink-arg=-fuse-ld=mold", # Use LLD Linker | ||
"-Zshare-generics=y", # (Nightly) Make the current crate share its generic instantiations | ||
"-Zthreads=0", # (Nightly) Use improved multithreading with the recommended amount of threads. | ||
] | ||
|
||
# NOTE: you must install [Mach-O LLD Port](https://lld.llvm.org/MachO/index.html) on mac. you can easily do this by installing llvm which includes lld with the "brew" package manager: | ||
# `brew install llvm` | ||
[target.x86_64-apple-darwin] | ||
rustflags = [ | ||
"-Clink-arg=-fuse-ld=/usr/local/opt/llvm/bin/ld64.lld", # Use LLD Linker | ||
"-Zshare-generics=y", # (Nightly) Make the current crate share its generic instantiations | ||
"-Zthreads=0", # (Nightly) Use improved multithreading with the recommended amount of threads. | ||
] | ||
|
||
[target.aarch64-apple-darwin] | ||
rustflags = [ | ||
"-Clink-arg=-fuse-ld=/opt/homebrew/opt/llvm/bin/ld64.lld", # Use LLD Linker | ||
"-Zshare-generics=y", # (Nightly) Make the current crate share its generic instantiations | ||
"-Zthreads=0", # (Nightly) Use improved multithreading with the recommended amount of threads. | ||
] | ||
|
||
[target.x86_64-pc-windows-msvc] | ||
linker = "rust-lld.exe" # Use LLD Linker | ||
rustflags = [ | ||
"-Zshare-generics=n", # (Nightly) | ||
"-Zthreads=0", # (Nightly) Use improved multithreading with the recommended amount of threads. | ||
] | ||
|
||
# Optional: Uncommenting the following improves compile times, but reduces the amount of debug info to 'line number tables only' | ||
# In most cases the gains are negligible, but if you are on macos and have slow compile times you should see significant gains. | ||
#[profile.dev] | ||
#debug = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this was committed by mistake, would you mind deleting it?