archives of rust-dev@mozilla.org (2010-2015)
 help / color / mirror / Atom feed
* [rust-dev] target json documentation
@ 2014-12-09 10:44 C K Kashyap
  2014-12-09 12:43 ` Nathan Sizemore
  0 siblings, 1 reply; 7+ messages in thread
From: C K Kashyap @ 2014-12-09 10:44 UTC (permalink / raw)
  To: rust-dev

[-- Attachment #1: Type: text/plain, Size: 152 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 203 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [rust-dev] target json documentation
  2014-12-09 10:44 [rust-dev] target json documentation C K Kashyap
@ 2014-12-09 12:43 ` Nathan Sizemore
  2014-12-09 13:02   ` C K Kashyap
  0 siblings, 1 reply; 7+ messages in thread
From: Nathan Sizemore @ 2014-12-09 12:43 UTC (permalink / raw)
  To: C K Kashyap; +Cc: rust-dev

[-- Attachment #1: Type: text/plain, Size: 916 bytes --]

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 <ckkashyap@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
>
>

[-- Attachment #2: Type: text/html, Size: 1787 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [rust-dev] target json documentation
  2014-12-09 12:43 ` Nathan Sizemore
@ 2014-12-09 13:02   ` C K Kashyap
  2014-12-09 13:09     ` Nathan Sizemore
  2014-12-09 13:55     ` Valerii Hiora
  0 siblings, 2 replies; 7+ messages in thread
From: C K Kashyap @ 2014-12-09 13:02 UTC (permalink / raw)
  To: Nathan Sizemore; +Cc: rust-dev

[-- Attachment #1: Type: text/plain, Size: 1257 bytes --]

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 <nathanrsizemore@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 <ckkashyap@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
>>
>>
>

[-- Attachment #2: Type: text/html, Size: 2603 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [rust-dev] target json documentation
  2014-12-09 13:02   ` C K Kashyap
@ 2014-12-09 13:09     ` Nathan Sizemore
  2014-12-09 13:55     ` Valerii Hiora
  1 sibling, 0 replies; 7+ messages in thread
From: Nathan Sizemore @ 2014-12-09 13:09 UTC (permalink / raw)
  To: C K Kashyap; +Cc: rust-dev

[-- Attachment #1: Type: text/plain, Size: 1591 bytes --]

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 <ckkashyap@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 <nathanrsizemore@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 <ckkashyap@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
>>>
>>>
>>
>

[-- Attachment #2: Type: text/html, Size: 3349 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [rust-dev] target json documentation
  2014-12-09 13:02   ` C K Kashyap
  2014-12-09 13:09     ` Nathan Sizemore
@ 2014-12-09 13:55     ` Valerii Hiora
  2014-12-09 17:17       ` Corey Richardson
  1 sibling, 1 reply; 7+ messages in thread
From: Valerii Hiora @ 2014-12-09 13:55 UTC (permalink / raw)
  To: C K Kashyap, Corey Richardson; +Cc: rust-dev

[-- Attachment #1: Type: text/plain, Size: 268 bytes --]

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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [rust-dev] target json documentation
  2014-12-09 13:55     ` Valerii Hiora
@ 2014-12-09 17:17       ` Corey Richardson
  2014-12-10  1:57         ` C K Kashyap
  0 siblings, 1 reply; 7+ messages in thread
From: Corey Richardson @ 2014-12-09 17:17 UTC (permalink / raw)
  To: Valerii Hiora; +Cc: rust-dev

[-- Attachment #1: Type: text/plain, Size: 450 bytes --]

http://static.rust-lang.org/doc/master/rustc_back/target/index.html

On Tue, Dec 9, 2014 at 8:55 AM, Valerii Hiora <valerii.hiora@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/

[-- Attachment #2: Type: text/html, Size: 1171 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [rust-dev] target json documentation
  2014-12-09 17:17       ` Corey Richardson
@ 2014-12-10  1:57         ` C K Kashyap
  0 siblings, 0 replies; 7+ messages in thread
From: C K Kashyap @ 2014-12-10  1:57 UTC (permalink / raw)
  To: Corey Richardson; +Cc: rust-dev

[-- Attachment #1: Type: text/plain, Size: 642 bytes --]

Excellent - just what  I was looking for.
Thanks Corey and Valerii!
Regards,
Kashyap

On Tue, Dec 9, 2014 at 10:47 PM, Corey Richardson <corey@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.hiora@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/
>

[-- Attachment #2: Type: text/html, Size: 1714 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-12-10  1:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-09 10:44 [rust-dev] target json documentation C K Kashyap
2014-12-09 12:43 ` Nathan Sizemore
2014-12-09 13:02   ` C K Kashyap
2014-12-09 13:09     ` Nathan Sizemore
2014-12-09 13:55     ` Valerii Hiora
2014-12-09 17:17       ` Corey Richardson
2014-12-10  1:57         ` C K Kashyap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox