Skip to content

Commit b711d01

Browse files
committed
Implement Vector
mistake subscript was only giving the base addresss
1 parent b0a37cf commit b711d01

File tree

3 files changed

+450
-1
lines changed

3 files changed

+450
-1
lines changed

stdlib/public/core/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ split_embedded_sources(
212212
EMBEDDED Unicode.swift # ORDER DEPENDENCY: must follow new unicode support
213213
EMBEDDED StringGraphemeBreaking.swift # ORDER DEPENDENCY: Must follow UTF16.swift
214214
EMBEDDED ValidUTF8Buffer.swift
215+
EMBEDDED Vector.swift
215216
EMBEDDED WriteBackMutableSlice.swift
216217
EMBEDDED MigrationSupport.swift
217218

@@ -315,6 +316,8 @@ list(APPEND swift_stdlib_compile_flags "-enable-experimental-feature" "Macros")
315316
list(APPEND swift_stdlib_compile_flags "-enable-experimental-feature" "FreestandingMacros")
316317
list(APPEND swift_stdlib_compile_flags "-enable-experimental-feature" "Extern")
317318
list(APPEND swift_stdlib_compile_flags "-enable-experimental-feature" "BitwiseCopyable")
319+
list(APPEND swift_stdlib_compile_flags "-enable-experimental-feature" "RawLayout")
320+
list(APPEND swift_stdlib_compile_flags "-enable-experimental-feature" "ValueGenerics")
318321

319322
if("${SWIFT_NATIVE_SWIFT_TOOLS_PATH}" STREQUAL "")
320323
set(swift_bin_dir "${CMAKE_BINARY_DIR}/bin")

stdlib/public/core/GroupInfo.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,8 @@
251251
"Instant.swift",
252252
"EmbeddedRuntime.swift",
253253
"EmbeddedStubs.swift",
254-
"EmbeddedPrint.swift"
254+
"EmbeddedPrint.swift",
255+
"Vector.swift"
255256
],
256257
"Result": [
257258
"Result.swift"

0 commit comments

Comments
 (0)