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 1
1
on :
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
5
7
6
8
name : Continuous integration
7
9
Original file line number Diff line number Diff line change 1
1
on :
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
5
7
6
8
name : Clippy check
7
9
Original file line number Diff line number Diff line change 1
1
on :
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
5
7
6
8
name : Code formatting check
7
9
Original file line number Diff line number Diff line change @@ -46,6 +46,12 @@ fn main() -> ! {
46
46
47
47
For a full usage example, see [ ` examples/global_alloc.rs ` ] ( https://github.com/rust-embedded/embedded-alloc/blob/master/examples/global_alloc.rs ) .
48
48
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
+
49
55
## License
50
56
51
57
Licensed under either of
You can’t perform that action at this time.
0 commit comments