diff --git a/foreign_cc/repositories.bzl b/foreign_cc/repositories.bzl index d8ca2fae..4c493191 100644 --- a/foreign_cc/repositories.bzl +++ b/foreign_cc/repositories.bzl @@ -12,7 +12,7 @@ def rules_foreign_cc_dependencies( cmake_version = "3.23.2", make_version = "4.4", ninja_version = "1.11.1", - meson_version = "0.63.0", + meson_version = "1.1.1", pkgconfig_version = "0.29.2", register_preinstalled_tools = True, register_built_tools = True, diff --git a/toolchains/built_toolchains.bzl b/toolchains/built_toolchains.bzl index 8b9c16a9..4f322525 100644 --- a/toolchains/built_toolchains.bzl +++ b/toolchains/built_toolchains.bzl @@ -161,6 +161,15 @@ def _meson_toolchain(version, register_toolchains): native.register_toolchains( "@rules_foreign_cc//toolchains:built_meson_toolchain", ) + if version == "1.1.1": + maybe( + http_archive, + name = "meson_src", + build_file_content = _MESON_BUILD_FILE_CONTENT, + strip_prefix = "meson-1.1.1", + url = "https://github.com/mesonbuild/meson/releases/download/1.1.1/meson-1.1.1.tar.gz", + ) + return if version == "0.63.0": maybe( http_archive,