diff options
| author | Gurchetan Singh <gurchetansingh@google.com> | 2024-12-18 15:18:08 -0800 |
|---|---|---|
| committer | Marge Bot <marge-bot@fdo.invalid> | 2025-06-17 22:28:54 +0000 |
| commit | 92d7504de31b44f66e88d7df2e194b519de82448 (patch) | |
| tree | 93e7632c33694f2549ff5777ac7db934b81fc386 /subprojects | |
| parent | 043d503f9db37536fdff4dd240bda5c7738314eb (diff) | |
subprojects: add log
Version 0.4.27 available in:
- AOSP
- Fedora (https://src.fedoraproject.org/rpms/rust-log)
Acked-by: Aaron Ruby <aruby@qnx.com>
Reviewed-by: @LingMan
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35210>
Diffstat (limited to 'subprojects')
| -rw-r--r-- | subprojects/log.wrap | 6 | ||||
| -rw-r--r-- | subprojects/packagefiles/log/meson.build | 21 |
2 files changed, 27 insertions, 0 deletions
diff --git a/subprojects/log.wrap b/subprojects/log.wrap new file mode 100644 index 00000000000..abf20c6cc9a --- /dev/null +++ b/subprojects/log.wrap @@ -0,0 +1,6 @@ +[wrap-file] +directory = log-0.4.27 +source_url = https://crates.io/api/v1/crates/log/0.4.27/download +source_filename = log-0.4.27.tar.gz +source_hash = 13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94 +patch_directory = log diff --git a/subprojects/packagefiles/log/meson.build b/subprojects/packagefiles/log/meson.build new file mode 100644 index 00000000000..ecc213fed96 --- /dev/null +++ b/subprojects/packagefiles/log/meson.build @@ -0,0 +1,21 @@ +# Copyright © 2024 Google +# SPDX-License-Identifier: MIT + +project( + 'log', + 'rust', + version : '0.4.27', + license : 'MIT OR Apache-2.0', +) + +lib = static_library( + 'log', + 'src/lib.rs', + override_options : ['rust_std=2021', 'build.rust_std=2021'], + rust_abi : 'rust', + native : true, +) + +dep_log = declare_dependency( + link_with : [lib] +) |