subprojects: add more syn features

This is needed by the zerocopy crate.

Acked-by: Aaron Ruby <aruby@qnx.com>
Reviewed-by: @LingMan
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35210>
This commit is contained in:
Gurchetan Singh
2024-12-18 15:02:58 -08:00
committed by Marge Bot
parent 71ff4ab788
commit 35894b5c87

View File

@@ -16,6 +16,8 @@ rust_args = [
'--cfg', 'feature="clone-impls"',
'--cfg', 'feature="proc-macro"',
'--cfg', 'feature="quote"',
'--cfg', 'feature="full"',
'--cfg', 'feature="visit-mut"',
]
if rc.version().version_compare('< 1.36')
rust_args += ['--cfg', 'syn_omit_await_from_token_macro']