File tree 1 file changed +12
-0
lines changed
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ and introduce yourself.
11
11
- [ Code of Conduct] ( #code-of-conduct )
12
12
- [ Filing an Issue] ( #filing-an-issue )
13
13
- [ Looking to Start Contributing to ` bindgen ` ?] ( #looking-to-start-contributing-to-bindgen )
14
+ - [ Prerequisites] ( #prerequisites )
15
+ - [ ` rustfmt ` / ` cargo fmt ` ] ( #rustfmt--cargo-fmt )
14
16
- [ Building] ( #building )
15
17
- [ Testing] ( #testing )
16
18
- [ Overview] ( #overview )
@@ -63,6 +65,16 @@ issue, provide us with:
63
65
* [ Issues labeled "help wanted"] ( https://github.com/rust-lang/rust-bindgen/labels/help%20wanted )
64
66
* Still can't find something to work on? [ Drop a comment here] ( https://github.com/rust-lang/rust-bindgen/issues/747 )
65
67
68
+ ## Prerequisites
69
+
70
+ ### ` rustfmt ` / ` cargo fmt `
71
+
72
+ We use ` nightly ` channel for ` rustfmt ` so please set the appropriate setting your editor/IDE for that.
73
+
74
+ For rust-analyzer, you can set ` rustfmt.extraArgs = ['+nightly'] ` .
75
+
76
+ To check via command line, you can run ` cargo +nightly fmt --check ` .
77
+
66
78
## Building
67
79
68
80
To build the ` bindgen ` library and the ` bindgen ` executable:
You can’t perform that action at this time.
0 commit comments