File tree 2 files changed +4
-0
lines changed
2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -1034,6 +1034,7 @@ impl f32 {
1034
1034
}
1035
1035
}
1036
1036
1037
+ #[ inline( always) ] // See https://github.com/rust-lang/compiler-builtins/issues/491
1037
1038
fn rt_f32_to_u32 ( x : f32 ) -> u32 {
1038
1039
// SAFETY: `u32` is a plain old datatype so we can always... uh...
1039
1040
// ...look, just pretend you forgot what you just read.
@@ -1125,6 +1126,7 @@ impl f32 {
1125
1126
}
1126
1127
}
1127
1128
1129
+ #[ inline( always) ] // See https://github.com/rust-lang/compiler-builtins/issues/491
1128
1130
fn rt_u32_to_f32 ( x : u32 ) -> f32 {
1129
1131
// SAFETY: `u32` is a plain old datatype so we can always... uh...
1130
1132
// ...look, just pretend you forgot what you just read.
Original file line number Diff line number Diff line change @@ -1027,6 +1027,7 @@ impl f64 {
1027
1027
}
1028
1028
}
1029
1029
1030
+ #[ inline( always) ] // See https://github.com/rust-lang/compiler-builtins/issues/491
1030
1031
fn rt_f64_to_u64 ( rt : f64 ) -> u64 {
1031
1032
// SAFETY: `u64` is a plain old datatype so we can always... uh...
1032
1033
// ...look, just pretend you forgot what you just read.
@@ -1123,6 +1124,7 @@ impl f64 {
1123
1124
}
1124
1125
}
1125
1126
1127
+ #[ inline( always) ] // See https://github.com/rust-lang/compiler-builtins/issues/491
1126
1128
fn rt_u64_to_f64 ( rt : u64 ) -> f64 {
1127
1129
// SAFETY: `u64` is a plain old datatype so we can always... uh...
1128
1130
// ...look, just pretend you forgot what you just read.
You can’t perform that action at this time.
0 commit comments