mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Fix 'pwd' command substitution (#413)
This commit is contained in:
committed by
Philipp Oppermann
parent
77522e79c6
commit
af151a2d45
@@ -222,7 +222,7 @@ We can now build the kernel for our new target by passing the name of the JSON f
|
|||||||
[custom-target-bug]: https://github.com/rust-lang/cargo/issues/4905
|
[custom-target-bug]: https://github.com/rust-lang/cargo/issues/4905
|
||||||
|
|
||||||
```
|
```
|
||||||
> RUST_TARGET_PATH=(pwd) cargo build --target x86_64-blog_os
|
> RUST_TARGET_PATH=$(pwd) cargo build --target x86_64-blog_os
|
||||||
|
|
||||||
error[E0463]: can't find crate for `core`
|
error[E0463]: can't find crate for `core`
|
||||||
|
|
|
|
||||||
@@ -251,7 +251,7 @@ Xargo is “a drop-in replacement for cargo”, so every cargo command also work
|
|||||||
Let's try it:
|
Let's try it:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
> RUST_TARGET_PATH=(pwd) xargo build --target x86_64-blog_os
|
> RUST_TARGET_PATH=$(pwd) xargo build --target x86_64-blog_os
|
||||||
Compiling core v0.0.0 (file:///…/rust/src/libcore)
|
Compiling core v0.0.0 (file:///…/rust/src/libcore)
|
||||||
Finished release [optimized] target(s) in 22.87 secs
|
Finished release [optimized] target(s) in 22.87 secs
|
||||||
Compiling blog_os v0.1.0 (file:///…/blog_os)
|
Compiling blog_os v0.1.0 (file:///…/blog_os)
|
||||||
|
|||||||
Reference in New Issue
Block a user