File tree Expand file tree Collapse file tree 5 files changed +21
-18
lines changed Expand file tree Collapse file tree 5 files changed +21
-18
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11on :
2- push :
3- branches : [ staging, trying, master ]
4- pull_request :
2+ push : # Run CI for all branches except GitHub merge queue tmp branches
3+ branches-ignore :
4+ - " gh-readonly-queue/**"
5+ pull_request : # Run CI for PRs on any branch
6+ merge_group : # Run CI for the GitHub merge queue
57
68name : Continuous integration
79
Original file line number Diff line number Diff line change 11on :
2- push :
3- branches : [ staging, trying, master ]
4- pull_request_target :
2+ push : # Run CI for all branches except GitHub merge queue tmp branches
3+ branches-ignore :
4+ - " gh-readonly-queue/**"
5+ pull_request : # Run CI for PRs on any branch
6+ merge_group : # Run CI for the GitHub merge queue
57
68name : Clippy check
79
Original file line number Diff line number Diff line change 11on :
2- push :
3- branches : [ staging, trying, master ]
4- pull_request :
2+ push : # Run CI for all branches except GitHub merge queue tmp branches
3+ branches-ignore :
4+ - " gh-readonly-queue/**"
5+ pull_request : # Run CI for PRs on any branch
6+ merge_group : # Run CI for the GitHub merge queue
57
68name : Code formatting check
79
Original file line number Diff line number Diff line change @@ -46,6 +46,12 @@ fn main() -> ! {
4646
4747For a full usage example, see [ ` examples/global_alloc.rs ` ] ( https://github.com/rust-embedded/embedded-alloc/blob/master/examples/global_alloc.rs ) .
4848
49+ For this to work, an implementation of [ ` critical-section ` ] ( https://github.com/rust-embedded/critical-section ) must be provided.
50+
51+ For simple use cases you may enable the ` critical-section-single-core ` feature in the [ cortex-m] ( https://github.com/rust-embedded/cortex-m ) crate.
52+ Please refer to the documentation of [ ` critical-section ` ] ( https://docs.rs/critical-section ) for further guidance.
53+
54+
4955## License
5056
5157Licensed under either of
You can’t perform that action at this time.
0 commit comments