meson: Update proc_macro2 meson.build patch

Update the proc-macro2/meson.build to include the changes from v1.0.81.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11071
Signed-off-by: José Expósito <jexposit@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28923>
This commit is contained in:
José Expósito
2024-04-25 11:47:31 +02:00
committed by Marge Bot
parent d1c01e256d
commit 18c5315731

View File

@@ -41,6 +41,15 @@ endif
if rc.version().version_compare('< 1.57')
rust_args += ['--cfg', 'no_is_available']
endif
if rc.version().version_compare('< 1.66')
rust_args += ['--cfg', 'no_source_text']
endif
if rc.version().version_compare('< 1.79')
rust_args += [
'--cfg', 'no_literal_byte_character',
'--cfg', 'no_literal_c_string',
]
endif
u_ind = subproject('unicode-ident').get_variable('lib')