From 27547e341f32782ad2d7fd998dde1cb04f4bf1db Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 28 May 2020 14:03:12 +0200 Subject: Allow calling certain search_existing() versions during load phase This is necessary for $target.path() implementation. --- libbuild2/file.ixx | 1 - 1 file changed, 1 deletion(-) (limited to 'libbuild2/file.ixx') diff --git a/libbuild2/file.ixx b/libbuild2/file.ixx index 7c09d3d..4a9f411 100644 --- a/libbuild2/file.ixx +++ b/libbuild2/file.ixx @@ -80,7 +80,6 @@ namespace build2 inline const target* import_existing (context& ctx, const prerequisite_key& pk) { - assert (ctx.phase == run_phase::match || ctx.phase == run_phase::execute); return import (ctx, pk, false, nullopt, true, location ()); } } -- cgit v1.1