Skip to content

Commit 85ff1e7

Browse files
authored
C#: remove obsolete component type object code (#1026)
This code is no longer needed now that the .NET runtime uses WIT files to represent the component type instead. Signed-off-by: Joel Dice <[email protected]>
1 parent 4ae0276 commit 85ff1e7

File tree

2 files changed

+0
-67
lines changed

2 files changed

+0
-67
lines changed

crates/csharp/src/component_type_object.rs

Lines changed: 0 additions & 58 deletions
This file was deleted.

crates/csharp/src/lib.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
mod component_type_object;
2-
31
use anyhow::Result;
42
use heck::{ToLowerCamelCase, ToShoutySnakeCase, ToUpperCamelCase};
53
use indexmap::IndexMap;
@@ -754,13 +752,6 @@ impl WorldGenerator for CSharp {
754752
);
755753
}
756754

757-
files.push(
758-
&format!("{world_namespace}_component_type.o",),
759-
component_type_object::object(resolve, id, self.opts.string_encoding)
760-
.unwrap()
761-
.as_slice(),
762-
);
763-
764755
// TODO: remove when we switch to dotnet 9
765756
let mut wasm_import_linakge_src = String::new();
766757

0 commit comments

Comments
 (0)