Permalink
Browse files

Tell rustc we are building static kernel code

  • Loading branch information...
jermar committed Mar 2, 2017
1 parent 648002c commit a402a87d9322ebf199a2a62f66f001785b280ea1
Showing with 4 additions and 0 deletions.
  1. +4 −0 .cargo/config
View
@@ -1,2 +1,6 @@
[target.i686-unknown-linux-gnu]
linker = "tools/lw.py"
rustflags = [
"-C", "relocation-model=static",
"-C", "code-model=kernel",
]

0 comments on commit a402a87

Please sign in to comment.