intermezzOS / kernel

A hobby operating system, in Rust
http://intermezzos.github.io/
Apache License 2.0
1.39k stars 90 forks source link

Update x86_64-unknown-intermezzos-gnu.json to work with recent changes #112

Closed hawkw closed 7 years ago

hawkw commented 7 years ago

Rust PR rust-lang/rust#40018 added the "linker-flavor" field to target.json files. This field is required; Cargo will refuse to build without it (with a rather cryptic error message).

The addition of the "linker-flavor" field also changed how pre-link args are specified in target.json files. Cargo silently ignores the old syntax, resulting in linker args not being passed.

This PR updates IntermezzOS' x86_64-unknown-intermezzos-gnu.json target file to be compatible with these changes. it should fix the build with recent Cargo versions.

Fixes #111

steveklabnik commented 7 years ago

Thanks so much!