# std.Build: remove deprecated APIs · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/3d393dba6fc06cea3508aaa3db9d49042663367e)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 3d393dba6fc06cea3508aaa3db9d49042663367e

Requested commit: 3d393dba6fc06cea3508aaa3db9d49042663367e

Commit: 3d393dba6fc06cea3508aaa3db9d49042663367e

Tree: d377f0aa22b7ed353a44e61a9fe7554ffa6c7707

Author: Eric Joldasov

Committer: Eric Joldasov

## Message

```
std.Build: remove deprecated APIs

These APIs were all deprecated prior to the release of 0.13.0, so can be
safety removed in the current release cycle.

`std.Build`:
* `host` -> `graph.host`

`std.Build.Step.Compile`:
* `setLinkerScriptPath` -> `setLinkerScript`
* `defineCMacro` -> `root_module.addCMacro`
* `linkFrameworkNeeded`-> `root_module.linkFramework`
* `linkFrameworkWeak`-> `root_module.linkFramework`

`std.Build.Step.ObjCopy`:
* `getOutputSource` -> `getOutput`

`std.Build.Step.Options`:
* `addOptionArtifact` -> `addOptionPath`
* `getSource` -> `getOutput`

`std.Build.Step.Run`:
* `extra_file_dependencies` -> `addFileInput`
* `addDirectorySourceArg` -> `addDirectoryArg`
* `addPrefixedDirectorySourceArg` -> `addPrefixedDirectoryArg`

```

## Parents

- [debba652a3f5af76840517321d389a2ec98a88f4](https://git.cafe/gitcafe/zig/commit/debba652a3f5af76840517321d389a2ec98a88f4?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/3d393dba6fc06cea3508aaa3db9d49042663367e?format=markdown)
