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:
committed by
Marge Bot
parent
71ff4ab788
commit
35894b5c87
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user