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

Reply via email to