From ebfb4bc624d9201f71ee622914e7252e18940418 Mon Sep 17 00:00:00 2001 From: beerpsi Date: Sun, 24 Dec 2023 03:53:54 +0700 Subject: [PATCH] messy ass code --- src/lib.rs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 76ba9b1..c686185 100644 --- a/src/lib.rs +++ b/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 log;