Skip to content

Instantly share code, notes, and snippets.

@yvt

yvt/Cargo.toml Secret

Last active October 31, 2020 03:58
Show Gist options
  • Save yvt/64e008e17f34d496410d03582a1a8dd1 to your computer and use it in GitHub Desktop.
Save yvt/64e008e17f34d496410d03582a1a8dd1 to your computer and use it in GitHub Desktop.
[package]
name = "rust-bug-202010"
version = "0.1.0"
edition = "2018"
[dependencies]
#!/bin/sh
# Because Gist doesn't support subdirectories...
mkdir -p src
mv src-lib.rs src/lib.rs
mv src-mymodule.rs src/mymodule.rs
macro_rules! m {
() => {
/// A
pub mod mymodule;
}
}
m!();
//! [`long_cat`] is really long
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment