# \#avr

**URL:** https://forums.swift.org/tag/avr/169.md

[Latest](https://forums.swift.org/latest.md) · [Categories](https://forums.swift.org/categories.md) · [Tags](https://forums.swift.org/tags.md)

---

## [\[AVR\] IRGen traps on lowering (invalid cast assertion thrown by LLVM)](https://forums.swift.org/t/avr-irgen-traps-on-lowering-invalid-cast-assertion-thrown-by-llvm/76883)

<div class="topic-metadata">

**Author:** [@carlos42421](https://forums.swift.org/u/carlos42421)\
**Replies:** 2\
**Last updated:** [January 24, 2025, 12:45pm UTC](https://forums.swift.org/t/avr-irgen-traps-on-lowering-invalid-cast-assertion-thrown-by-llvm/76883 "2025-01-24T12:45:57Z")

</div>

I created a freshly built compiler with the current trunk (55189bae8e) and tried to compile IR with a stub file a.swift, with the contents... import Swift // nothing yet Then I tried to compile it using much the same …

---

## [Swiftc traps when compiling stdlib for Harvard Architecture processors](https://forums.swift.org/t/swiftc-traps-when-compiling-stdlib-for-harvard-architecture-processors/60978)

<div class="topic-metadata">

**Author:** [@carlos42421](https://forums.swift.org/u/carlos42421)\
**Replies:** 5\
**Last updated:** [October 23, 2022, 11:46am UTC](https://forums.swift.org/t/swiftc-traps-when-compiling-stdlib-for-harvard-architecture-processors/60978 "2022-10-23T11:46:15Z")

</div>

Hi, I'm getting a crash here... 2599 static void emitRetconCoroutineEntry(IRGenFunction &IGF, 2600 CanSILFunctionType fnType, 2601 Expl…

---

## [Swift standard library on platforms without threading support?](https://forums.swift.org/t/swift-standard-library-on-platforms-without-threading-support/17846)

<div class="topic-metadata">

**Author:** [@Max\_Desiatov](https://forums.swift.org/u/Max_Desiatov)\
**Replies:** 15\
**Last updated:** [July 22, 2020, 1:50pm UTC](https://forums.swift.org/t/swift-standard-library-on-platforms-without-threading-support/17846 "2020-07-22T13:50:52Z")

</div>

I'm very interested know if there's an easy way to get existing Swift standard library working on platforms that don't support threading, like AVR and WebAssembly. From what I saw in the standard library and runtime sou…

---

## [Error: module 'Builtin' has no member named 'zextOrBitCast\_Word\_Int32'](https://forums.swift.org/t/error-module-builtin-has-no-member-named-zextorbitcast-word-int32/17219)

<div class="topic-metadata">

**Author:** [@carlos4242](https://forums.swift.org/u/carlos4242)\
**Replies:** 3\
**Last updated:** [October 24, 2018, 3:07pm UTC](https://forums.swift.org/t/error-module-builtin-has-no-member-named-zextorbitcast-word-int32/17219 "2018-10-24T15:07:27Z")

</div>

So this question has a few parts. And it's probably one of those "confirming my suspicions" questions more than anything else. Background I'm building a custom made, tiny, minimal stdlib for my 16 bit architecture (AVR…

---

## ["unsupported register width" compiling stdlib](https://forums.swift.org/t/unsupported-register-width-compiling-stdlib/17243)

<div class="topic-metadata">

**Author:** [@carlos4242](https://forums.swift.org/u/carlos4242)\
**Replies:** 1\
**Last updated:** [October 22, 2018, 8:27pm UTC](https://forums.swift.org/t/unsupported-register-width-compiling-stdlib/17243 "2018-10-22T20:27:49Z")

</div>

This function from stdlib won't compile, fails SIL generation for my target: @inline(\_\_always) @inlinable public func \_bridgeObject(toTagged x: Builtin.BridgeObject) -\> UInt { // \_sanityCheck(\_isTaggedObject(x)) let…
