We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38b364b commit 429394fCopy full SHA for 429394f
tests/run-make/rustc_fluent_macro-hyphen-package/Cargo.toml
@@ -0,0 +1,4 @@
1
+[package]
2
+name = "some-name"
3
+version = "0.0.0"
4
+edition = "2024"
tests/run-make/rustc_fluent_macro-hyphen-package/messages.ftl
@@ -0,0 +1 @@
+some_name_whatever_message = hello
tests/run-make/rustc_fluent_macro-hyphen-package/rmake.rs
@@ -0,0 +1,8 @@
+use run_make_support::external_deps::cargo::cargo;
+
+// test to make sure that `rustc_fluent_macro` correctly handles
+// packages that have hyphens in their package name.
5
6
+fn main() {
7
+ cargo().arg("build").arg("--manifest-path=./Cargo.toml").run();
8
+}
tests/run-make/rustc_fluent_macro-hyphen-package/src/lib.rs
@@ -0,0 +1,6 @@
+#![feature(rustc_private)]
+extern crate rustc_driver;
+extern crate rustc_fluent_macro;
+rustc_fluent_macro::fluent_messages!("../messages.ftl");
0 commit comments