mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-08 22:01:47 -04:00
-target-features:<string>
This just passes a string directly to the LLVM features string
This commit is contained in:
1 parent
2d89faa17c
commit
09e4fff5b1
4 files changed
+14
-9
No files matched your search
@@ -10,10 +10,6 @@ struct String {
|
||||
u8 * text;
|
||||
isize len;
|
||||
|
||||
// u8 &operator[](isize i) {
|
||||
// GB_ASSERT_MSG(0 <= i && i < len, "[%td]", i);
|
||||
// return text[i];
|
||||
// }
|
||||
u8 const &operator[](isize i) const {
|
||||
GB_ASSERT_MSG(0 <= i && i < len, "[%td]", i);
|
||||
return text[i];
|
||||
@@ -33,10 +29,6 @@ struct String {
|
||||
struct String16 {
|
||||
wchar_t *text;
|
||||
isize len;
|
||||
wchar_t &operator[](isize i) {
|
||||
GB_ASSERT_MSG(0 <= i && i < len, "[%td]", i);
|
||||
return text[i];
|
||||
}
|
||||
wchar_t const &operator[](isize i) const {
|
||||
GB_ASSERT_MSG(0 <= i && i < len, "[%td]", i);
|
||||
return text[i];
|
||||
|
||||
Reference in new issue
Block a user