the.bay.news

How to use `build_options` inside test blocks

Ziggit
How to use `build_options` inside test blocks
I’ve been reading through the testing docs and posts but I don’t understand how to use build options inside a test block without defining a test file specifically for it. I have the following line in my build code where I add the depenency to my module. const build_options = b.addOptions(); // ... bootloader.root_module.addOptions("build_options", build_options); Inside the main file of the bootloader module, I defined the following test: const build_options = @import("build_opti...

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.