Set linker-flavor to ld.lld, leave linker at default

This commit is contained in:
Philipp Oppermann
2018-03-06 09:49:45 +01:00
parent 033144fd9c
commit d7e17b2f56
2 changed files with 3 additions and 5 deletions

View File

@@ -132,11 +132,10 @@ We add the following build-related entries:
```json
"linker-flavor": "ld",
"linker": "ld.lld",
"linker-flavor": "ld.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.
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.
[LLD]: https://lld.llvm.org/