We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1d8ad3 commit d2ff2b3Copy full SHA for d2ff2b3
arm-targets/src/lib.rs
@@ -4,24 +4,25 @@
4
//! be required.
5
#[derive(Default)]
6
pub struct TargetInfo {
7
- profile: Option<Profile>,
8
- arch: Option<Arch>,
9
isa: Option<Isa>,
+ arch: Option<Arch>,
+ profile: Option<Profile>,
10
}
11
12
impl TargetInfo {
13
- pub fn profile(&self) -> Option<Profile> {
14
- self.profile
+ pub fn isa(&self) -> Option<Isa> {
+ self.isa
15
16
17
pub fn arch(&self) -> Option<Arch> {
18
self.arch
19
20
21
- pub fn isa(&self) -> Option<Isa> {
22
- self.isa
+ pub fn profile(&self) -> Option<Profile> {
+ self.profile
23
24
25
+
26
/// Process the ${TARGET} environment variable, and emit cargo configuration to
27
/// standard out.
28
pub fn process() -> TargetInfo {
0 commit comments