forked from beerpsi/chuniio-yubideck
messy ass code
This commit is contained in:
parent
28aaa9670c
commit
ebfb4bc624
13
src/lib.rs
13
src/lib.rs
@ -1,3 +1,16 @@
|
|||||||
|
// I swear the code down below looks way better in a proper editor
|
||||||
|
// that greys out disabled code.
|
||||||
|
//
|
||||||
|
// While I'd love to make use of something like cfg_aliases, IDEs
|
||||||
|
// are not intelligent enough yet.
|
||||||
|
//
|
||||||
|
// To aid reading this code, I have also adapted a convention of
|
||||||
|
// having the original function first, then the stub function after.
|
||||||
|
//
|
||||||
|
// Legend of common cfg flags:
|
||||||
|
// - any(all(feature = "chusan", target_arch = "x86_64"), not(feature = "chusan")): For amdaemon usage
|
||||||
|
// - any(all(feature = "chusan", target_arch = "x86"), not(feature = "chusan")): For chusanapp usage
|
||||||
|
|
||||||
mod configuration;
|
mod configuration;
|
||||||
mod log;
|
mod log;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user