From 4600b0779f248b19fbae7f3ef6f2b00842d5d4ee Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Wed, 26 Jul 2023 09:56:15 +0200 Subject: [PATCH] macro: move 'boot' call into the 'Once' section This also means boot function call chains must not cause circular dependencies at all without a way to mitigate this in code. If this should ever be a problem, we can move it out again, but this should rather not be necessary. Signed-off-by: Wolfgang Bumiller --- perlmod-macro/src/package.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/perlmod-macro/src/package.rs b/perlmod-macro/src/package.rs index ac62fda..96d01c9 100644 --- a/perlmod-macro/src/package.rs +++ b/perlmod-macro/src/package.rs @@ -127,9 +127,9 @@ impl Package { #newxs } - }); - #boot + #boot + }); } } }