Re: [rust-dev] target json documentation
Hello, I'm not aware of an option to rustc that allows a json file to passed for compilation options (I'm assuming this is what you're referring to)? Documentation for building a crate using Cargo - http://doc.crates.io/guide.html Or From a terminal, run man rustc or rustc --help for list of options you can pass the compiler. For JSON implementation in the language itself - http://doc.rust-lang.org/serialize/json/index.html Hopefully, one of those will help? - Nathan Nathan Sizemore @nathansizemore | 937.823.7229 On Tue, Dec 9, 2014 at 5:44 AM, C K Kashyap ckkash...@gmail.com wrote: Hi, Can someone please point me to the documentation around the valid contents of target json file that can be passed to the compiler? Regards, Kashyap ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev
Re: [rust-dev] target json documentation
Hi Nathan, I've used it here - https://github.com/ckkashyap/unix/blob/master/kernel/Makefile and it appears that the compiler does honor the contents of the json file that is passed. Regards, Kashyap On Tue, Dec 9, 2014 at 6:13 PM, Nathan Sizemore nathanrsizem...@gmail.com wrote: Hello, I'm not aware of an option to rustc that allows a json file to passed for compilation options (I'm assuming this is what you're referring to)? Documentation for building a crate using Cargo - http://doc.crates.io/guide.html Or From a terminal, run man rustc or rustc --help for list of options you can pass the compiler. For JSON implementation in the language itself - http://doc.rust-lang.org/serialize/json/index.html Hopefully, one of those will help? - Nathan Nathan Sizemore @nathansizemore | 937.823.7229 On Tue, Dec 9, 2014 at 5:44 AM, C K Kashyap ckkash...@gmail.com wrote: Hi, Can someone please point me to the documentation around the valid contents of target json file that can be passed to the compiler? Regards, Kashyap ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev
Re: [rust-dev] target json documentation
Huh, never knew that was possible. Unfortunately, I have nothing to help with that... Hopefully someone else will have something for you. Nathan Nathan Sizemore @nathansizemore | 937.823.7229 On Tue, Dec 9, 2014 at 8:02 AM, C K Kashyap ckkash...@gmail.com wrote: Hi Nathan, I've used it here - https://github.com/ckkashyap/unix/blob/master/kernel/Makefile and it appears that the compiler does honor the contents of the json file that is passed. Regards, Kashyap On Tue, Dec 9, 2014 at 6:13 PM, Nathan Sizemore nathanrsizem...@gmail.com wrote: Hello, I'm not aware of an option to rustc that allows a json file to passed for compilation options (I'm assuming this is what you're referring to)? Documentation for building a crate using Cargo - http://doc.crates.io/guide.html Or From a terminal, run man rustc or rustc --help for list of options you can pass the compiler. For JSON implementation in the language itself - http://doc.rust-lang.org/serialize/json/index.html Hopefully, one of those will help? - Nathan Nathan Sizemore @nathansizemore | 937.823.7229 On Tue, Dec 9, 2014 at 5:44 AM, C K Kashyap ckkash...@gmail.com wrote: Hi, Can someone please point me to the documentation around the valid contents of target json file that can be passed to the compiler? Regards, Kashyap ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev
Re: [rust-dev] target json documentation
Hi Kashyap, I've used it here - https://github.com/ckkashyap/unix/blob/master/kernel/Makefile and it appears that the compiler does honor the contents of the json file that is passed. Corey Richardson can help you with that. -- Valerii signature.asc Description: OpenPGP digital signature ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev
Re: [rust-dev] target json documentation
http://static.rust-lang.org/doc/master/rustc_back/target/index.html On Tue, Dec 9, 2014 at 8:55 AM, Valerii Hiora valerii.hi...@gmail.com wrote: Hi Kashyap, I've used it here - https://github.com/ckkashyap/unix/blob/master/kernel/Makefile and it appears that the compiler does honor the contents of the json file that is passed. Corey Richardson can help you with that. -- Valerii -- http://octayn.net/ ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev
Re: [rust-dev] target json documentation
Excellent - just what I was looking for. Thanks Corey and Valerii! Regards, Kashyap On Tue, Dec 9, 2014 at 10:47 PM, Corey Richardson co...@octayn.net wrote: http://static.rust-lang.org/doc/master/rustc_back/target/index.html On Tue, Dec 9, 2014 at 8:55 AM, Valerii Hiora valerii.hi...@gmail.com wrote: Hi Kashyap, I've used it here - https://github.com/ckkashyap/unix/blob/master/kernel/Makefile and it appears that the compiler does honor the contents of the json file that is passed. Corey Richardson can help you with that. -- Valerii -- http://octayn.net/ ___ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev