We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7b591a commit 1461deaCopy full SHA for 1461dea
src/builder-module.c
@@ -2023,6 +2023,15 @@ builder_module_build_helper (BuilderModule *self,
2023
{
2024
/* Meson's setup command is now meson setup */
2025
g_ptr_array_add (configure_args_arr, g_strdup ("setup"));
2026
+ /*
2027
+ * When project dependencies are absent, Meson by default tries
2028
+ * to initialise fallbacks and attempts to download them over
2029
+ * the network, returning a potentially misleading error
2030
+ * message.
2031
+ *
2032
+ * Setting wrap-mode to `nodownload` instructs Meson to not try
2033
+ * to use the network to fetch any resources
2034
+ */
2035
if (!build_has_network)
2036
g_ptr_array_add (configure_args_arr, g_strdup ("--wrap-mode=nodownload"));
2037
}
0 commit comments