Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LLD is now shipped with Rust! #395

Merged
merged 3 commits into from
Mar 6, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Set linker-flavor to ld.lld, leave linker at default
phil-opp committed Mar 6, 2018

Unverified

The signing certificate or its chain could not be verified.
commit d7e17b2f56ba2c12b256e3e79673ac5d8b63a7de
Original file line number Diff line number Diff line change
@@ -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/

3 changes: 1 addition & 2 deletions x86_64-blog_os.json
Original file line number Diff line number Diff line change
@@ -6,8 +6,7 @@
"target-pointer-width": "64",
"target-c-int-width": "32",
"os": "none",
"linker-flavor": "ld",
"linker": "ld.lld",
"linker-flavor": "ld.lld",
"executables": true,
"features": "-mmx,-sse,+soft-float",
"disable-redzone": true,