From 0b98799673623f1acbb3e65cdb9f687692cbf63f Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Mon, 9 Jul 2018 12:16:59 +0200 Subject: [PATCH] The bundled LLD linker was renamed to rust-lld (#457) --- .../second-edition/posts/02-minimal-rust-kernel/index.md | 4 +++- x86_64-blog_os.json | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/blog/content/second-edition/posts/02-minimal-rust-kernel/index.md b/blog/content/second-edition/posts/02-minimal-rust-kernel/index.md index 8ad2758c..35ba64ba 100644 --- a/blog/content/second-edition/posts/02-minimal-rust-kernel/index.md +++ b/blog/content/second-edition/posts/02-minimal-rust-kernel/index.md @@ -133,9 +133,10 @@ We add the following build-related entries: ```json "linker-flavor": "ld.lld", +"linker": "rust-lld", ``` -Instead of using the platform's default linker (which might not support Linux targets), we use the cross platform [LLD] linker for linking our kernel. LLD is shipped with Rust since the `2018-03-05` nightly. +Instead of using the platform's default linker (which might not support Linux targets), we use the cross platform [LLD] linker that is shipped with Rust for linking our kernel. [LLD]: https://lld.llvm.org/ @@ -183,6 +184,7 @@ Our target specification file now looks like this: "os": "none", "executables": true, "linker-flavor": "ld.lld", + "linker": "rust-lld", "panic-strategy": "abort", "disable-redzone": true, "features": "-mmx,-sse,+soft-float" diff --git a/x86_64-blog_os.json b/x86_64-blog_os.json index 113ea600..7d2110d2 100644 --- a/x86_64-blog_os.json +++ b/x86_64-blog_os.json @@ -8,6 +8,7 @@ "os": "none", "executables": true, "linker-flavor": "ld.lld", + "linker": "rust-lld", "panic-strategy": "abort", "disable-redzone": true, "features": "-mmx,-sse,+soft-float"