diff options
| author | Wedson Almeida Filho <[email protected]> | 2024-03-28 01:35:56 +0000 |
|---|---|---|
| committer | Miguel Ojeda <[email protected]> | 2024-04-16 20:03:14 +0000 |
| commit | 11795ae4cc430192fb9aee2c1142e313cbce3ec5 (patch) | |
| tree | ab3acecefc90ec67679ac44da8158133b412ed93 /scripts/generate_rust_analyzer.py | |
| parent | rust: alloc: introduce the `VecExt` trait (diff) | |
| download | kernel-11795ae4cc430192fb9aee2c1142e313cbce3ec5.tar.gz kernel-11795ae4cc430192fb9aee2c1142e313cbce3ec5.zip | |
kbuild: use the upstream `alloc` crate
Switch away from our fork of the `alloc` crate. We remove it altogether
in the next commit.
Signed-off-by: Wedson Almeida Filho <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
| -rwxr-xr-x | scripts/generate_rust_analyzer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/generate_rust_analyzer.py b/scripts/generate_rust_analyzer.py index fc52bc41d3e7..f270c7b0cf34 100755 --- a/scripts/generate_rust_analyzer.py +++ b/scripts/generate_rust_analyzer.py @@ -66,7 +66,7 @@ def generate_crates(srctree, objtree, sysroot_src, external_src, cfgs): append_crate( "alloc", - srctree / "rust" / "alloc" / "lib.rs", + sysroot_src / "alloc" / "src" / "lib.rs", ["core", "compiler_builtins"], cfg=crates_cfgs.get("alloc", []), ) |
