[WIP] Add syntax check for rust and C\C++ code (#108)
* proof of concept * fix syntax for rust and add auto fix syntax * fix syntax for C * fix bug with files owner * add information to wiki * try to add ci * format code from master * even more format fixes * change docker to docker-compose * Exclude ./target_*/build directories from format check * Run rustfmt only on project files * add ulimit setup for long clang list * merge * fix rustfmt, exclude target Inc directory * sync with master * abspath Co-authored-by: aanper <mail@s3f.ru> Co-authored-by: Vadim Kaushan <admin@disasm.info>
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#![no_std]
|
||||
|
||||
#![allow(dead_code)]
|
||||
#![allow(non_camel_case_types)]
|
||||
#![allow(non_upper_case_globals)]
|
||||
@@ -17,4 +16,4 @@ pub mod cmsis_os {
|
||||
pub mod hal {
|
||||
include!(concat!(env!("OUT_DIR"), "/stm32_hal_bindings.rs"));
|
||||
include!(concat!(env!("OUT_DIR"), "/stm32_hal_statics.rs"));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user