From a63e36f7b114d66f455936fa6621b30a3a54675f Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Wed, 13 May 2020 12:11:18 -0700 Subject: interpreter: Rename has_exe_wrapper -> can_run_host_binaries The implementation of this function has changed enough that the name doesn't really reflect what it actually does. It basically returns true unless you're cross compiling, need and exe_wrapper, and don't have one. The original function remains but is marked as deprecated. This makes one small change the meson source language, which is that it defines that can_run_host_binaries will return true in build == host compilation, which was the behavior that already existed. Previously this was undefined in build == host compilation. --- docs/markdown/snippets/can_run_host_binaries.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 docs/markdown/snippets/can_run_host_binaries.md (limited to 'docs/markdown/snippets') diff --git a/docs/markdown/snippets/can_run_host_binaries.md b/docs/markdown/snippets/can_run_host_binaries.md new file mode 100644 index 0000000..0108184 --- /dev/null +++ b/docs/markdown/snippets/can_run_host_binaries.md @@ -0,0 +1,5 @@ +## Rename has_exe_wrapper -> can_run_host_binaries + +The old name was confusing as it didn't really match the behavior of the +function. The old name remains as an alias (the behavior hasn't changed), but +is now deprecated. -- cgit v1.1