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>
(cherry picked from commit 18c5315731)
This commit is contained in:
José Expósito 2024-04-25 11:47:31 +02:00 committed by Eric Engestrom
parent 58dfa780c1
commit 6fc67be3a5
2 changed files with 10 additions and 1 deletions

View file

@ -4,7 +4,7 @@
"description": "meson: Update proc_macro2 meson.build patch",
"nominated": false,
"nomination_type": 3,
"resolution": 4,
"resolution": 1,
"main_sha": null,
"because_sha": null,
"notes": null

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')