Re: [rust-dev] doc sprint today in San Francisco at 12pm PDT!

2014-03-17 Thread Cadence Marseille
That was fun! I hope to see a few more of these sprints in the future. Cadence On Sun, Mar 16, 2014 at 12:37 PM, Erick Tryzelaar wrote: > Hello Rusties! > > I just wanted to remind everyone that we're having a doc sprint today at > 12 pm PDT at the San Francisco Mozilla Headquarters. All are

[rust-dev] Replacement for #[link_args]

2014-02-01 Thread Cadence Marseille
Hello, It seems that support for #[link_args] was recently removed (even with #[feature(link_args)]), so now the -L argument is not being passed to the linker command: https://travis-ci.org/cadencemarseille/rust-pcre/builds/18054206 How do you specify a library directory when building a package w

[rust-dev] rustpkg error: "Package ____ depends on ____, but I don't know how to find it"

2014-01-26 Thread Cadence Marseille
Hi, I am seeing a new build error and I am not sure what is causing it. rust-pcre , libpcre bindings for Rust, is set up to use Travis and Rust CI . The latest build is failing with: rustpkg install pcre WARNING: The Rust packa

Re: [rust-dev] Interest in OptionStr?

2013-11-12 Thread Cadence Marseille
ving it. You end up with > a pointer to a pointer (&~) which is why you have to explicitly dereference > it when you use it. > > -Micah > > On Nov 12, 2013, at 7:41 AM, Cadence Marseille > wrote: > > Hi, > > I was thinking about a small enhancement for Option

[rust-dev] Interest in OptionStr?

2013-11-12 Thread Cadence Marseille
Hi, I was thinking about a small enhancement for Option objects where S: Str that would add a utility method for returning a slice option. There is some code in rust-pcre, https://github.com/cadencemarseille/rust-pcre/blob/d833054/src/pcre/mod.rs#L137, that I think illustrates what I am trying to

Re: [rust-dev] This Week in Rust

2013-10-28 Thread Cadence Marseille
Hi Corey, I just wanted to thank you for the "This Week in Rust" notes. I love reading them and I am sure that I am not the only one who appreciates the effort that you put into each one. Cadence On Mon, Oct 28, 2013 at 5:48 PM, Corey Richardson wrote: > Welcome to another issue of *This Wee

Re: [rust-dev] Audio for "Rust: A Friendly Introduction" now available

2013-10-16 Thread Cadence Marseille
Hi Tim, Thanks for posting these. I haven't listened to the audio, but I read through the slides and I like your presentation. For me, it is a good reminder of why Rust is so cool. I don't know about other users (survey time, anyone? [?]), but my background is mostly C++ and Java. The notes ab

Re: [rust-dev] How to write a rustpkg package script (pkg.rs)

2013-10-09 Thread Cadence Marseille
_study() function, then I could tailor the wrapper to libpcre versions older than 8.20 using #[cfg(have_pcre_free_study)]. In the current system, a package script would have to generate all Rust files having such #[cfg(...)] lines and basically do what rustc does. On Sun, Oct 6, 2013 at 1:57 PM,

[rust-dev] How to write a rustpkg package script (pkg.rs)

2013-10-06 Thread Cadence Marseille
Hello, To fix issue #1 of rust-pcre, I am working on a package script that will automatically determine the proper link_args to use and build the rust-pcre wrapper using those link args. For a while I was encountering the following error: ta

Re: [rust-dev] `extern mod` declarations

2013-10-04 Thread Cadence Marseille
wrong. A quick fix is: >> >> cd ~/.rust; rustpkg init; cd src; mkdir -p >> github.com/cadencemarseille; cd github.com/cadencemarseille; git clone >> https://github.com/cadencemarseille/rust-pcre.git; rustpkg build >> rust-pcre; >> >> >> >&

Re: [rust-dev] `extern mod` declarations

2013-10-04 Thread Cadence Marseille
pcre.git; rustpkg build > rust-pcre; > > > > On Thu, Oct 3, 2013 at 8:32 AM, Cadence Marseille > wrote: > > Hello, > > > > I just switched over the rust-pcre project's directory structure to a > > rustpkg workspace (as documented at > > http://st

[rust-dev] `extern mod` declarations

2013-10-03 Thread Cadence Marseille
Hello, I just switched over the rust-pcreproject's directory structure to a rustpkg workspace (as documented at http://static.rust-lang.org/doc/master/rustpkg.html). Now I am trying to run a simple Rust program using the pcre module, but I am experie

[rust-dev] Announce: rust-pcre

2013-09-29 Thread Cadence Marseille
Hello, I spent some time putting together a simple wrapper for libpcre, available at: https://github.com/cadencemarseille/rust-pcre As I am just learning Rust, any comments/thoughts about the wrapper's API, coding style, etc., are welcome. -- Cadence __