Skip to content

Conversation

alexcrichton
Copy link
Member

@alexcrichton alexcrichton commented Dec 18, 2018

This is the next post lined up after this week's Rust tools in 2018, and I think we'll ideally shoot for publication this Friday if possible!

Rendered

@rust-highfive
Copy link

r? @nikomatsakis

(rust_highfive has picked a reviewer for you, use r? to override)

@alexcrichton
Copy link
Member Author

cc @dtolnay, you're likely to have thoughts on this!

Mark-Simulacrum and others added 11 commits December 18, 2018 13:39
Co-Authored-By: alexcrichton <alex@alexcrichton.com>
Co-Authored-By: alexcrichton <alex@alexcrichton.com>
Co-Authored-By: alexcrichton <alex@alexcrichton.com>
Co-Authored-By: alexcrichton <alex@alexcrichton.com>
Co-Authored-By: alexcrichton <alex@alexcrichton.com>
Co-Authored-By: alexcrichton <alex@alexcrichton.com>
Co-Authored-By: alexcrichton <alex@alexcrichton.com>
Co-Authored-By: alexcrichton <alex@alexcrichton.com>
Co-Authored-By: alexcrichton <alex@alexcrichton.com>
We can then write some unit tests in `tests/smoke.rs`:

```rust
#[my_crate::hello]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oooh interesting! So most of our examples so far have had you use hello and then #[hello]. i wonder which style we should encourage

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't particularly have a preference either way, but I figured this was a good opportunity to show this off at least.

Copy link
Member

@nrc nrc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

nrc and others added 5 commits December 20, 2018 16:08
Co-Authored-By: alexcrichton <alex@alexcrichton.com>
Co-Authored-By: alexcrichton <alex@alexcrichton.com>
Co-Authored-By: alexcrichton <alex@alexcrichton.com>
Co-Authored-By: alexcrichton <alex@alexcrichton.com>
@alexcrichton
Copy link
Member Author

Updated with your feedback as well @nrc, thanks!

@alexcrichton alexcrichton merged commit 200c252 into rust-lang:master Dec 21, 2018
@alexcrichton alexcrichton deleted the pm2018 branch December 21, 2018 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants