+rust-dev
On Sun, Jan 18, 2015 at 1:53 PM, C K Kashyap ckkash...@gmail.com wrote:
Luckily a workaround seems to work for me - I've updated the bug with the
same -
update in the bug---
For what it's worth I have a workaorund that works for me -
On my mac machine, do the following
1
Hi,
I'd like to build executables that can run on Linux using rust on mac. What
configuration do I need to build rustc (on mac) with?
./configure --target=x86_64-unknown-linux-gnu
does not seem to work.
Regards,
Kashyap
___
Rust-dev mailing list
Hi,
Is this a regression -
undefined reference to
`str::str.StrPrelude::bytes::deref::hf4838b8c6b01fc6aSGs
I get this error at linking with libcore.rlib in the latest nightly build.
My code is here - https://github.com/ckkashyap/unix
Or do I need to make change in my code? I'd really
:
I generally get type of errors at runtime when the rust libraries in
my ld path don't match the version of the libraries the executable was
created with.
Perhaps you could try rebuilding or removing some of the installed
rust versions?
On Wed, Dec 17, 2014 at 12:54 PM, C K Kashyap ckkash
Thanks Kevin,
I need all the help - thanks for offering.
Regarding the str issue - it went away after I replaced the linker script
with the one from osdev.org.
I've run into a new issue (link issue - I've sent an email about it) with
the latest nightly - something may have broken in the latest
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
| 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
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
Hi,
Looks like on my ubuntu 64 bit, when I compile
hello(ABCD);
I get
719e: 48 8d 05 e0 68 04 00lea0x468e0(%rip),%rax#
4da85 str1405
71a5: 48 89 44 24 08 mov%rax,0x8(%rsp)
71aa: 48 c7 44 24 10 04 00movq $0x4,0x10(%rsp)
addressing is how it's done :) Thanks for the pointer.
Now I need to find out what the problem is in my kernel code ...
Thanks Daniel.
Regards,
Kashyap
On Wed, Dec 10, 2014 at 9:21 AM, Daniel Micay danielmi...@gmail.com wrote:
On 09/12/14 10:43 PM, C K Kashyap wrote:
Hi,
Looks like on my
Hi,
I am stuck in my kernel development where I find that I am not able to
iterate over a str. The code is here -
https://github.com/ckkashyap/unix/blob/master/kernel/uart.rs in the
function uart_putc I find that the for-loop loops the right number of times
but it does not print the right
Hi,
Could someone please point me to a good article/doc where I could read
about Rust's module system? I''ve gone through
http://doc.rust-lang.org/guide.html#crates-and-modules but it does not seem
adequate in terms of understanding what modules are and what happens when I
use the use keyword.
'static str) but
for any slice of characters, such as those produced by String::as_slice()
in which case the lifetime is different (only live as long as the
particular String instance) and the length is not necessarily known at
compile-time.
On Wed, Dec 3, 2014 at 6:34 PM, C K Kashyap ckkash
Hi,
I am new to Rust - but I love the fact that it is best of Haskell and C++.
I am attempting to port xv6 to rust - just sending out this note to say hi
and also check to see if my email is making it to the group.
Regards,
Kashyap
___
Rust-dev mailing
:18:03 AM CET, C K Kashyap ckkash...@gmail.com
wrote:
Hi,
I am new to Rust - but I love the fact that it is best of Haskell and C++.
I am attempting to port xv6 to rust - just sending out this note to say
hi and also check to see if my email is making it to the group.
Regards,
Kashyap
the repo if you have started.
2014-11-21 14:18 GMT+08:00 C K Kashyap ckkash...@gmail.com:
Hi,
I am new to Rust - but I love the fact that it is best of Haskell and C++.
I am attempting to port xv6 to rust - just sending out this note to say
hi and also check to see if my email is making
Hi,
I am attempting to port xv6 to rust. I found a strange observation in my
code at https://github.com/ckkashyap/unix/blob/newrustfile/kernel/kernel.rs
The code as it is works as expected - prints out AB on the screen. However,
as soon as I comment out lines 30 to 37, the kernel keeps rebooting.
Hi All,
I am attempting to implement some functions in Rust that I'd like to call
from my existing C app. Here's what I tried - I created a rust file as
follows -
#![crate_name = rustcode]
#![crate_type = staticlib]
#![no_std]
#![feature(globs, asm, lang_items)]
#[no_mangle]
pub extern C fn
() - int {
return 123;
}
#[lang = stack_exhausted] extern fn stack_exhausted() {}
Regards,
Kashyap
On Sun, Nov 9, 2014 at 11:35 PM, Mikhail Zabaluev
mikhail.zabal...@gmail.com wrote:
Hi,
2014-11-09 19:33 GMT+02:00 C K Kashyap ckkash...@gmail.com:
I am attempting
19 matches
Mail list logo