reexport -> re-export

This commit is contained in:
Klemen Košir
2016-08-20 13:04:26 +02:00
parent e56df793d4
commit 30a8c06295
2 changed files with 3 additions and 3 deletions

View File

@@ -707,7 +707,7 @@ SECTIONS {
Instead of page aligning the `.multiboot_header` section, we merge it into the `.rodata` section. That way, we don't waste a whole page for the few bytes of the Multiboot header. We could merge it into any section, but `.rodata` fits best because it has the same flags (neither writable nor executable). The Multiboot header still needs to be at the beginning of the file, so `.rodata` must be our first section now.
### Testing it
Time to test it! We reexport the `remap_the_kernel` function from the memory module and call it from `rust_main`:
Time to test it! We re-export the `remap_the_kernel` function from the memory module and call it from `rust_main`:
```rust
// in src/memory/mod.rs