File tree 4 files changed +20
-0
lines changed
tests/run-make/rustc_fluent_macro-hyphen-package
4 files changed +20
-0
lines changed Original file line number Diff line number Diff line change
1
+ [package ]
2
+ name = " some-name"
3
+ version = " 0.0.0"
4
+ edition = " 2024"
Original file line number Diff line number Diff line change
1
+ some_name_whatever_message = hello
Original file line number Diff line number Diff line change
1
+ use run_make_support:: external_deps:: cargo:: cargo;
2
+
3
+ // test to make sure that `rustc_fluent_macro` correctly handles
4
+ // packages that have hyphens in their package name.
5
+
6
+ fn main ( ) {
7
+ cargo ( ) . arg ( "build" ) . arg ( "--manifest-path=./Cargo.toml" ) . run ( ) ;
8
+ }
Original file line number Diff line number Diff line change
1
+ #![ feature( rustc_private) ]
2
+
3
+ extern crate rustc_driver;
4
+ extern crate rustc_errors;
5
+ extern crate rustc_fluent_macro;
6
+
7
+ rustc_fluent_macro:: fluent_messages!( "../messages.ftl" ) ;
You can’t perform that action at this time.
0 commit comments